Uses of Class
org.apache.lucene.util.IntsRef
Packages that use IntsRef
Package
Description
Some utility classes.
Finite-state automaton for regular expressions.
Finite state transducers
-
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 fromotherMethods in org.apache.lucene.util with parameters of type IntsRefModifier and TypeMethodDescriptionintSigned int order comparisonvoidstatic IntsRefIntsRef.deepCopyOf(IntsRef other) Creates a new IntsRef that points to a copy of the ints fromotherbooleanIntsRef.intsEquals(IntsRef other) static voidUnicodeUtil.UTF8toUTF32(BytesRef utf8, IntsRef utf32) This method assumes valid UTF8 input. -
Uses of IntsRef in org.apache.lucene.util.automaton
Methods in org.apache.lucene.util.automaton that return types with arguments of type IntsRefModifier and TypeMethodDescriptionSpecialOperations.getFiniteStrings(Automaton a, int limit) Returns the set of accepted strings, assuming that at mostlimitstrings are accepted. -
Uses of IntsRef in org.apache.lucene.util.fst
Fields in org.apache.lucene.util.fst declared as IntsRefModifier and TypeFieldDescriptionIntsRefFSTEnum.InputOutput.inputfinal IntsRefUtil.FSTPath.inputfinal IntsRefUtil.MinResult.inputMethods in org.apache.lucene.util.fst that return IntsRefModifier and TypeMethodDescriptionstatic IntsRefUtil.getByOutput(FST<Long> fst, long targetOutput) Reverse lookup (lookup by output instead of by input), in the special case when your FSTs outputs are strictly ascending.static IntsRefUtil.getByOutput(FST<Long> fst, long targetOutput, FST.BytesReader in, FST.Arc<Long> arc, FST.Arc<Long> scratchArc, IntsRef result) Expert: likeUtil.getByOutput(FST, long)except reusing BytesReader, initial and scratch Arc, and result.IntSequenceOutputs.getNoOutput()static IntsRefJust takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRefUtil.toUTF16(CharSequence s, IntsRef scratch) Just maps each UTF16 unit (char) to the ints in an IntsRef.static IntsRefDecodes 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, IntsRef 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) voidIt's OK to add the same input twice in a row with different outputs, as long as outputs impls the merge method.voidUtil.TopNSearcher.addStartPaths(FST.Arc<T> node, T startOutput, boolean allowEmptyString, IntsRef input) Adds all leaving arcs, including 'finished' arc, if the node is final, from this node into the queue.abstract voidBuilder.FreezeTail.freeze(Builder.UnCompiledNode<T>[] frontier, int prefixLenPlus1, IntsRef prevInput) static <T> TLooks up the output for this input, or null if the input is not accepted.static IntsRefUtil.getByOutput(FST<Long> fst, long targetOutput, FST.BytesReader in, FST.Arc<Long> arc, FST.Arc<Long> scratchArc, IntsRef result) Expert: likeUtil.getByOutput(FST, long)except reusing BytesReader, initial and scratch Arc, and result.IntSequenceOutputs.outputToString(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, BytesRef scratch) Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte.static IntsRefJust takes unsigned byte values from the BytesRef and converts into an IntsRef.static IntsRefUtil.toUTF16(CharSequence s, IntsRef scratch) Just maps each UTF16 unit (char) to the ints in an IntsRef.static IntsRefDecodes 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, IntsRef scratch) Decodes the Unicode codepoints from the provided CharSequence and places them in the provided scratch IntsRef, which must not be null, returning it.voidIntSequenceOutputs.write(IntsRef prefix, DataOutput out) Constructors in org.apache.lucene.util.fst with parameters of type IntsRef