Package org.apache.lucene.util.fst
Class IntsRefFSTEnum<T>
java.lang.Object
org.apache.lucene.util.fst.IntsRefFSTEnum<T>
Enumerates all input (IntsRef) + output pairs in an
FST.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHolds a single input (IntsRef) + output pair. -
Constructor Summary
ConstructorsConstructorDescriptionIntsRefFSTEnum(FST<T> fst) doFloor controls the behavior of advance: if it's true doFloor is true, advance positions to the biggest term before target. -
Method Summary
-
Constructor Details
-
IntsRefFSTEnum
doFloor controls the behavior of advance: if it's true doFloor is true, advance positions to the biggest term before target.
-
-
Method Details
-
current
-
next
- Throws:
IOException
-
seekCeil
Seeks to smallest term that's >= target.- Throws:
IOException
-
seekFloor
Seeks to biggest term that's invalid input: '<'= target.- Throws:
IOException
-
seekExact
Seeks to exactly this term, returning null if the term doesn't exist. This is faster than usingseekFloor(org.apache.lucene.util.IntsRef)orseekCeil(org.apache.lucene.util.IntsRef)because it short-circuits as soon the match is not found.- Throws:
IOException
-