Module org.apache.lucene.codecs
Class FixedGapTermsIndexReader.IndexEnum
java.lang.Object
org.apache.lucene.codecs.blockterms.TermsIndexReaderBase.FieldIndexEnum
org.apache.lucene.codecs.blockterms.FixedGapTermsIndexReader.IndexEnum
- Enclosing class:
FixedGapTermsIndexReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FixedGapTermsIndexReader.FieldIndexDataprivate longprivate final BytesRef -
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
-
fieldIndex
-
term
-
ord
private long ord
-
-
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
-
next
public long next()Description copied from class:TermsIndexReaderBase.FieldIndexEnumReturns -1 at end- Specified by:
nextin classTermsIndexReaderBase.FieldIndexEnum
-
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
-