public abstract static class TermsIndexReaderBase.FieldIndexEnum extends Object
| Constructor and Description |
|---|
FieldIndexEnum() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public abstract long seek(BytesRef term) throws IOException
IOExceptionpublic abstract long next()
throws IOException
IOExceptionpublic abstract BytesRef term()
public abstract long seek(long ord)
throws IOException
TermsIndexReaderBase.supportsOrd() returns true.IOExceptionpublic abstract long ord()
TermsIndexReaderBase.supportsOrd() returns true.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.