|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IntsRef | |
---|---|
org.apache.lucene.util | Some utility classes. |
org.apache.lucene.util.automaton | Finite-state automaton for regular expressions. |
org.apache.lucene.util.fst | Finite state transducers |
Uses of IntsRef in org.apache.lucene.util |
---|
Methods in org.apache.lucene.util that return IntsRef | |
---|---|
IntsRef |
IntsRef.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 from other |
Methods in org.apache.lucene.util with parameters of type IntsRef | |
---|---|
int |
IntsRef.compareTo(IntsRef other)
Signed int order comparison |
void |
IntsRef.copyInts(IntsRef other)
|
static IntsRef |
IntsRef.deepCopyOf(IntsRef other)
Creates a new IntsRef that points to a copy of the ints from other |
boolean |
IntsRef.intsEquals(IntsRef other)
|
static void |
UnicodeUtil.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 IntsRef | |
---|---|
static Set<IntsRef> |
SpecialOperations.getFiniteStrings(Automaton a,
int limit)
Returns the set of accepted strings, assuming that at most limit strings are accepted. |
Uses of IntsRef in org.apache.lucene.util.fst |
---|
Fields in org.apache.lucene.util.fst declared as IntsRef | |
---|---|
IntsRef |
Util.FSTPath.input
|
IntsRef |
Util.MinResult.input
|
IntsRef |
IntsRefFSTEnum.InputOutput.input
|
Methods in org.apache.lucene.util.fst that return IntsRef | |
---|---|
IntsRef |
IntSequenceOutputs.add(IntsRef prefix,
IntsRef output)
|
IntsRef |
IntSequenceOutputs.common(IntsRef output1,
IntsRef output2)
|
static IntsRef |
Util.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 IntsRef |
Util.getByOutput(FST<Long> fst,
long targetOutput,
FST.BytesReader in,
FST.Arc<Long> arc,
FST.Arc<Long> scratchArc,
IntsRef result)
Expert: like Util.getByOutput(FST, long) except reusing
BytesReader, initial and scratch Arc, and result. |
IntsRef |
IntSequenceOutputs.getNoOutput()
|
IntsRef |
IntSequenceOutputs.read(DataInput in)
|
IntsRef |
IntSequenceOutputs.subtract(IntsRef output,
IntsRef inc)
|
static IntsRef |
Util.toIntsRef(BytesRef input,
IntsRef scratch)
Just takes unsigned byte values from the BytesRef and converts into an IntsRef. |
static IntsRef |
Util.toUTF16(CharSequence s,
IntsRef scratch)
Just maps each UTF16 unit (char) to the ints in an IntsRef. |
static IntsRef |
Util.toUTF32(char[] s,
int offset,
int length,
IntsRef 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,
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 IntsRef | ||
---|---|---|
protected boolean |
Util.TopNSearcher.acceptResult(IntsRef input,
T output)
|
|
IntsRef |
IntSequenceOutputs.add(IntsRef prefix,
IntsRef output)
|
|
void |
Builder.add(IntsRef input,
T output)
It's OK to add the same input twice in a row with different outputs, as long as outputs impls the merge method. |
|
void |
Util.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. |
|
IntsRef |
IntSequenceOutputs.common(IntsRef output1,
IntsRef output2)
|
|
abstract void |
Builder.FreezeTail.freeze(Builder.UnCompiledNode<T>[] frontier,
int prefixLenPlus1,
IntsRef prevInput)
|
|
static
|
Util.get(FST<T> fst,
IntsRef input)
Looks up the output for this input, or null if the input is not accepted. |
|
static IntsRef |
Util.getByOutput(FST<Long> fst,
long targetOutput,
FST.BytesReader in,
FST.Arc<Long> arc,
FST.Arc<Long> scratchArc,
IntsRef result)
Expert: like Util.getByOutput(FST, long) except reusing
BytesReader, initial and scratch Arc, and result. |
|
String |
IntSequenceOutputs.outputToString(IntsRef output)
|
|
IntsRefFSTEnum.InputOutput<T> |
IntsRefFSTEnum.seekCeil(IntsRef target)
Seeks to smallest term that's >= target. |
|
IntsRefFSTEnum.InputOutput<T> |
IntsRefFSTEnum.seekExact(IntsRef target)
Seeks to exactly this term, returning null if the term doesn't exist. |
|
IntsRefFSTEnum.InputOutput<T> |
IntsRefFSTEnum.seekFloor(IntsRef target)
Seeks to biggest term that's <= target. |
|
IntsRef |
IntSequenceOutputs.subtract(IntsRef output,
IntsRef inc)
|
|
static BytesRef |
Util.toBytesRef(IntsRef input,
BytesRef scratch)
Just converts IntsRef to BytesRef; you must ensure the int values fit into a byte. |
|
static IntsRef |
Util.toIntsRef(BytesRef input,
IntsRef scratch)
Just takes unsigned byte values from the BytesRef and converts into an IntsRef. |
|
static IntsRef |
Util.toUTF16(CharSequence s,
IntsRef scratch)
Just maps each UTF16 unit (char) to the ints in an IntsRef. |
|
static IntsRef |
Util.toUTF32(char[] s,
int offset,
int length,
IntsRef 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,
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. |
|
void |
IntSequenceOutputs.write(IntsRef prefix,
DataOutput out)
|
Constructors in org.apache.lucene.util.fst with parameters of type IntsRef | |
---|---|
Util.FSTPath(T cost,
FST.Arc<T> arc,
IntsRef input)
Sole constructor |
|
Util.MinResult(IntsRef input,
T output)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |