Module org.apache.lucene.codecs
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
FieldsModifier and TypeFieldDescriptionprivate BytesRefFSTEnum.InputOutput<Long> private final BytesRefFSTEnum<Long> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongnext()Returns -1 at endlongord()Only implemented ifTermsIndexReaderBase.supportsOrd()returns true.longseek(long ord) Only implemented ifTermsIndexReaderBase.supportsOrd()returns true.longSeeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that termterm()
-
Field Details
-
fstEnum
-
current
-
-
Constructor Details
-
IndexEnum
-
-
Method Details
-
term
- Specified by:
termin classTermsIndexReaderBase.FieldIndexEnum
-
seek
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:
IOException
-
next
Description copied from class:TermsIndexReaderBase.FieldIndexEnumReturns -1 at end- Specified by:
nextin classTermsIndexReaderBase.FieldIndexEnum- Throws:
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
-