Uses of Class
org.apache.lucene.util.IntsRef
Package
Description
Code to maintain and access indices.
Some utility classes.
Finite-state automaton for regular expressions.
Finite state transducers
-
Uses of IntsRef in org.apache.lucene.index
Modifier and TypeMethodDescriptiondefault void
Similar toPointValues.IntersectVisitor.visit(int)
, but a bulk visit and implements may have their optimizations. -
Uses of IntsRef in org.apache.lucene.util
Modifier and TypeMethodDescriptionIntsRef.clone()
Returns a shallow clone of this instance (the underlying ints are not copied and will be shared by both the returned object and this object.static IntsRef
IntsRef.deepCopyOf
(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromother
IntsRefBuilder.get()
Return aIntsRef
that points to the internal content of this builder.IntsRefBuilder.toIntsRef()
Build a newCharsRef
that has the same content as this builder.Modifier and TypeMethodDescriptionint
Signed int order comparisonvoid
Copies the given array into this instance.static IntsRef
IntsRef.deepCopyOf
(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromother
boolean
IntsRef.intsEquals
(IntsRef other) static BytesRef
StringHelper.intsRefToBytesRef
(IntsRef ints) -
Uses of IntsRef in org.apache.lucene.util.automaton
Modifier and TypeMethodDescriptionstatic IntsRef
Operations.getSingleton
(Automaton a) If this automaton accepts a single input, return it.FiniteStringsIterator.next()
Generate next finite string.LimitedFiniteStringsIterator.next()
-
Uses of IntsRef in org.apache.lucene.util.fst
Modifier and TypeFieldDescriptionIntsRefFSTEnum.InputOutput.input
final IntsRef
Util.Result.input
Modifier and TypeMethodDescriptionIntSequenceOutputs.getNoOutput()
static IntsRef
Util.toIntsRef
(BytesRef input, IntsRefBuilder scratch) Just takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRef
Util.toUTF16
(CharSequence s, IntsRefBuilder scratch) Just maps each UTF16 unit (char) to the ints in an IntsRef.static IntsRef
Util.toUTF32
(char[] s, int offset, int length, IntsRefBuilder scratch) Decodes the Unicode codepoints from the provided char[] and places them in the provided scratch IntsRef, which must not be null, returning it.static IntsRef
Util.toUTF32
(CharSequence s, IntsRefBuilder scratch) Decodes the Unicode codepoints from the provided CharSequence and places them in the provided scratch IntsRef, which must not be null, returning it.Modifier and TypeMethodDescriptionprotected boolean
Util.TopNSearcher.acceptResult
(IntsRef input, T output) void
Add the next input/output pair.static <T> T
Looks up the output for this input, or null if the input is not accepted.IntSequenceOutputs.outputToString
(IntsRef output) long
IntSequenceOutputs.ramBytesUsed
(IntsRef output) Seeks to smallest term that's >= target.Seeks to exactly this term, returning null if the term doesn't exist.Seeks to biggest term that's <= target.static BytesRef
Util.toBytesRef
(IntsRef input, BytesRefBuilder scratch) Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte.void
IntSequenceOutputs.write
(IntsRef prefix, DataOutput out)