Class OrdsSegmentTermsEnum
- java.lang.Object
-
- org.apache.lucene.index.TermsEnum
-
- org.apache.lucene.index.BaseTermsEnum
-
- org.apache.lucene.codecs.blocktreeords.OrdsSegmentTermsEnum
-
- All Implemented Interfaces:
BytesRefIterator
public final class OrdsSegmentTermsEnum extends BaseTermsEnum
Iterates through terms in this field.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.index.TermsEnum
TermsEnum.SeekStatus
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdocFreq()ImpactsEnumimpacts(int flags)BytesRefnext()longord()PostingsEnumpostings(PostingsEnum reuse, int flags)TermsEnum.SeekStatusseekCeil(BytesRef target)voidseekExact(long targetOrd)booleanseekExact(BytesRef target)voidseekExact(BytesRef target, TermState otherState)BytesRefterm()TermStatetermState()StringtoString()longtotalTermFreq()-
Methods inherited from class org.apache.lucene.index.BaseTermsEnum
attributes
-
-
-
-
Method Detail
-
seekExact
public boolean seekExact(BytesRef target) throws IOException
- Overrides:
seekExactin classBaseTermsEnum- Throws:
IOException
-
seekCeil
public TermsEnum.SeekStatus seekCeil(BytesRef target) throws IOException
- Specified by:
seekCeilin classTermsEnum- Throws:
IOException
-
next
public BytesRef next() throws IOException
- Throws:
IOException
-
docFreq
public int docFreq() throws IOException- Specified by:
docFreqin classTermsEnum- Throws:
IOException
-
totalTermFreq
public long totalTermFreq() throws IOException- Specified by:
totalTermFreqin classTermsEnum- Throws:
IOException
-
postings
public PostingsEnum postings(PostingsEnum reuse, int flags) throws IOException
- Specified by:
postingsin classTermsEnum- Throws:
IOException
-
impacts
public ImpactsEnum impacts(int flags) throws IOException
- Specified by:
impactsin classTermsEnum- Throws:
IOException
-
seekExact
public void seekExact(BytesRef target, TermState otherState)
- Overrides:
seekExactin classBaseTermsEnum
-
termState
public TermState termState() throws IOException
- Overrides:
termStatein classBaseTermsEnum- Throws:
IOException
-
seekExact
public void seekExact(long targetOrd) throws IOException- Specified by:
seekExactin classTermsEnum- Throws:
IOException
-
-