Class FixedGapTermsIndexReader.IndexEnum
- java.lang.Object
-
- org.apache.lucene.codecs.blockterms.TermsIndexReaderBase.FieldIndexEnum
-
- org.apache.lucene.codecs.blockterms.FixedGapTermsIndexReader.IndexEnum
-
- Enclosing class:
- FixedGapTermsIndexReader
private class FixedGapTermsIndexReader.IndexEnum extends TermsIndexReaderBase.FieldIndexEnum
-
-
Field Summary
Fields Modifier and Type Field Description private FixedGapTermsIndexReader.FieldIndexData
fieldIndex
private long
ord
private BytesRef
term
-
Constructor Summary
Constructors Constructor Description IndexEnum(FixedGapTermsIndexReader.FieldIndexData fieldIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
next()
Returns -1 at endlong
ord()
Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.long
seek(long ord)
Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.long
seek(BytesRef target)
Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that termBytesRef
term()
-
-
-
Field Detail
-
fieldIndex
private final FixedGapTermsIndexReader.FieldIndexData fieldIndex
-
term
private final BytesRef term
-
ord
private long ord
-
-
Constructor Detail
-
IndexEnum
public IndexEnum(FixedGapTermsIndexReader.FieldIndexData fieldIndex)
-
-
Method Detail
-
term
public BytesRef term()
- Specified by:
term
in classTermsIndexReaderBase.FieldIndexEnum
-
seek
public long seek(BytesRef target)
Description copied from class:TermsIndexReaderBase.FieldIndexEnum
Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that term- Specified by:
seek
in classTermsIndexReaderBase.FieldIndexEnum
-
next
public long next()
Description copied from class:TermsIndexReaderBase.FieldIndexEnum
Returns -1 at end- Specified by:
next
in classTermsIndexReaderBase.FieldIndexEnum
-
ord
public long ord()
Description copied from class:TermsIndexReaderBase.FieldIndexEnum
Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.- Specified by:
ord
in classTermsIndexReaderBase.FieldIndexEnum
-
seek
public long seek(long ord)
Description copied from class:TermsIndexReaderBase.FieldIndexEnum
Only implemented ifTermsIndexReaderBase.supportsOrd()
returns true.- Specified by:
seek
in classTermsIndexReaderBase.FieldIndexEnum
-
-