Package org.apache.lucene.search.join
Class SeekingTermSetTermsEnum
java.lang.Object
org.apache.lucene.index.TermsEnum
org.apache.lucene.index.FilteredTermsEnum
org.apache.lucene.search.join.SeekingTermSetTermsEnum
- All Implemented Interfaces:
org.apache.lucene.util.BytesRefIterator
public class SeekingTermSetTermsEnum
extends org.apache.lucene.index.FilteredTermsEnum
A filtered TermsEnum that uses a BytesRefHash as a filter
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.FilteredTermsEnum
org.apache.lucene.index.FilteredTermsEnum.AcceptStatusNested classes/interfaces inherited from class org.apache.lucene.index.TermsEnum
org.apache.lucene.index.TermsEnum.SeekStatus -
Field Summary
Fields inherited from class org.apache.lucene.index.FilteredTermsEnum
actualTerm, tenumFields inherited from class org.apache.lucene.index.TermsEnum
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSeekingTermSetTermsEnum(org.apache.lucene.index.TermsEnum tenum, org.apache.lucene.util.BytesRefHash terms, int[] ords) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.index.FilteredTermsEnum.AcceptStatusaccept(org.apache.lucene.util.BytesRef term) protected org.apache.lucene.util.BytesRefnextSeekTerm(org.apache.lucene.util.BytesRef currentTerm) Methods inherited from class org.apache.lucene.index.FilteredTermsEnum
attributes, docFreq, impacts, next, ord, postings, seekCeil, seekExact, seekExact, seekExact, setInitialSeekTerm, term, termState, totalTermFreqMethods inherited from class org.apache.lucene.index.TermsEnum
postings
-
Constructor Details
-
SeekingTermSetTermsEnum
public SeekingTermSetTermsEnum(org.apache.lucene.index.TermsEnum tenum, org.apache.lucene.util.BytesRefHash terms, int[] ords) Constructor
-
-
Method Details
-
nextSeekTerm
protected org.apache.lucene.util.BytesRef nextSeekTerm(org.apache.lucene.util.BytesRef currentTerm) throws IOException - Overrides:
nextSeekTermin classorg.apache.lucene.index.FilteredTermsEnum- Throws:
IOException
-
accept
protected org.apache.lucene.index.FilteredTermsEnum.AcceptStatus accept(org.apache.lucene.util.BytesRef term) throws IOException - Specified by:
acceptin classorg.apache.lucene.index.FilteredTermsEnum- Throws:
IOException
-