Class VariableGapTermsIndexReader.IndexEnum
- java.lang.Object
-
- org.apache.lucene.codecs.blockterms.TermsIndexReaderBase.FieldIndexEnum
-
- org.apache.lucene.codecs.blockterms.VariableGapTermsIndexReader.IndexEnum
-
- Enclosing class:
- VariableGapTermsIndexReader
private static class VariableGapTermsIndexReader.IndexEnum extends TermsIndexReaderBase.FieldIndexEnum
-
-
Field Summary
Fields Modifier and Type Field Description private BytesRefFSTEnum.InputOutput<java.lang.Long>currentprivate BytesRefFSTEnum<java.lang.Long>fstEnum
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()Returns -1 at endlongord()Only implemented ifTermsIndexReaderBase.supportsOrd()returns true.longseek(long ord)Only implemented ifTermsIndexReaderBase.supportsOrd()returns true.longseek(BytesRef target)Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that termBytesRefterm()
-
-
-
Field Detail
-
fstEnum
private final BytesRefFSTEnum<java.lang.Long> fstEnum
-
current
private BytesRefFSTEnum.InputOutput<java.lang.Long> current
-
-
Constructor Detail
-
IndexEnum
public IndexEnum(FST<java.lang.Long> fst)
-
-
Method Detail
-
term
public BytesRef term()
- Specified by:
termin classTermsIndexReaderBase.FieldIndexEnum
-
seek
public long seek(BytesRef target) throws java.io.IOException
Description copied from class:TermsIndexReaderBase.FieldIndexEnumSeeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that term- Specified by:
seekin classTermsIndexReaderBase.FieldIndexEnum- Throws:
java.io.IOException
-
next
public long next() throws java.io.IOExceptionDescription copied from class:TermsIndexReaderBase.FieldIndexEnumReturns -1 at end- Specified by:
nextin classTermsIndexReaderBase.FieldIndexEnum- Throws:
java.io.IOException
-
ord
public long ord()
Description copied from class:TermsIndexReaderBase.FieldIndexEnumOnly implemented ifTermsIndexReaderBase.supportsOrd()returns true.- Specified by:
ordin classTermsIndexReaderBase.FieldIndexEnum
-
seek
public long seek(long ord)
Description copied from class:TermsIndexReaderBase.FieldIndexEnumOnly implemented ifTermsIndexReaderBase.supportsOrd()returns true.- Specified by:
seekin classTermsIndexReaderBase.FieldIndexEnum
-
-