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.AcceptStatus

    Nested 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, tenum

    Fields inherited from class org.apache.lucene.index.TermsEnum

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    SeekingTermSetTermsEnum(org.apache.lucene.index.TermsEnum tenum, org.apache.lucene.util.BytesRefHash terms, int[] ords)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.lucene.index.FilteredTermsEnum.AcceptStatus
    accept(org.apache.lucene.util.BytesRef term)
     
    protected org.apache.lucene.util.BytesRef
    nextSeekTerm(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, totalTermFreq

    Methods inherited from class org.apache.lucene.index.TermsEnum

    postings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      nextSeekTerm in class org.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:
      accept in class org.apache.lucene.index.FilteredTermsEnum
      Throws:
      IOException