|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.codecs.blockterms.TermsIndexReaderBase.FieldIndexEnum
public abstract static class TermsIndexReaderBase.FieldIndexEnum
Similar to TermsEnum, except, the only "metadata" it reports for a given indexed term is the long fileOffset into the main terms dictionary file.
Constructor Summary | |
---|---|
TermsIndexReaderBase.FieldIndexEnum()
|
Method Summary | |
---|---|
abstract long |
next()
Returns -1 at end |
abstract long |
ord()
Only implemented if TermsIndexReaderBase.supportsOrd() returns true. |
abstract long |
seek(BytesRef term)
Seeks to "largest" indexed term that's <= term; returns file pointer index (into the main terms index file) for that term |
abstract long |
seek(long ord)
Only implemented if TermsIndexReaderBase.supportsOrd() returns true. |
abstract BytesRef |
term()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TermsIndexReaderBase.FieldIndexEnum()
Method Detail |
---|
public abstract long seek(BytesRef term) throws IOException
IOException
public abstract long next() throws IOException
IOException
public abstract BytesRef term()
public abstract long seek(long ord) throws IOException
TermsIndexReaderBase.supportsOrd()
returns true.
IOException
public abstract long ord()
TermsIndexReaderBase.supportsOrd()
returns true.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |