Uses of Class
org.apache.lucene.util.IntsRef
Packages that use 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
Methods in org.apache.lucene.index with parameters of type IntsRefModifier and TypeMethodDescriptiondefault voidSimilar toPointValues.IntersectVisitor.visit(int), but a bulk visit and implements may have their optimizations. -
Uses of IntsRef in org.apache.lucene.util
Methods in org.apache.lucene.util that return IntsRefModifier 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 IntsRefIntsRef.deepCopyOf(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromotherIntsRefBuilder.get()Return aIntsRefthat points to the internal content of this builder.IntsRefBuilder.toIntsRef()Build a newCharsRefthat has the same content as this builder.Methods in org.apache.lucene.util with parameters of type IntsRefModifier and TypeMethodDescriptionvoidvoidintSigned int order comparisonvoidCopies the given array into this instance.static IntsRefIntsRef.deepCopyOf(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromotherbooleanIntsRef.intsEquals(IntsRef other) static BytesRefStringHelper.intsRefToBytesRef(IntsRef ints) -
Uses of IntsRef in org.apache.lucene.util.automaton
Methods in org.apache.lucene.util.automaton that return IntsRefModifier and TypeMethodDescriptionstatic IntsRefOperations.getSingleton(Automaton a) If this automaton accepts a single input, return it.FiniteStringsIterator.next()Generate next finite string.LimitedFiniteStringsIterator.next()Methods in org.apache.lucene.util.automaton with parameters of type IntsRef -
Uses of IntsRef in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as IntsRefMethods in org.apache.lucene.util.fst that return IntsRefModifier and TypeMethodDescriptionIntSequenceOutputs.getNoOutput()Util.Result.input()Returns the value of theinputrecord component.static IntsRefUtil.toIntsRef(BytesRef input, IntsRefBuilder scratch) Just takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRefUtil.toUTF16(CharSequence s, IntsRefBuilder scratch) Just maps each UTF16 unit (char) to the ints in an IntsRef.static IntsRefUtil.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 IntsRefUtil.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.Methods in org.apache.lucene.util.fst with parameters of type IntsRefModifier and TypeMethodDescriptionprotected booleanUtil.TopNSearcher.acceptResult(IntsRef input, T output) voidAdd the next input/output pair.static <T> TLooks up the output for this input, or null if the input is not accepted.IntSequenceOutputs.outputToString(IntsRef output) longIntSequenceOutputs.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 BytesRefUtil.toBytesRef(IntsRef input, BytesRefBuilder scratch) Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte.voidIntSequenceOutputs.write(IntsRef prefix, DataOutput out) Constructors in org.apache.lucene.util.fst with parameters of type IntsRef