Class ThrowingLeafReaderWrapper.ThrowingTerms

java.lang.Object
org.apache.lucene.index.Terms
org.apache.lucene.index.FilterLeafReader.FilterTerms
org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
Enclosing class:
ThrowingLeafReaderWrapper

public static class ThrowingLeafReaderWrapper.ThrowingTerms extends org.apache.lucene.index.FilterLeafReader.FilterTerms
Wraps a Terms but with additional asserts
  • Field Summary

    Fields inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms

    in

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

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ThrowingTerms(org.apache.lucene.index.Terms in, ThrowingLeafReaderWrapper.Thrower thrower)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.index.TermsEnum
    intersect(org.apache.lucene.util.automaton.CompiledAutomaton automaton, org.apache.lucene.util.BytesRef bytes)
     
    org.apache.lucene.index.TermsEnum
     

    Methods inherited from class org.apache.lucene.index.FilterLeafReader.FilterTerms

    getDocCount, getStats, getSumDocFreq, getSumTotalTermFreq, hasFreqs, hasOffsets, hasPayloads, hasPositions, size

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

    getMax, getMin, getTerms

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • intersect

      public org.apache.lucene.index.TermsEnum intersect(org.apache.lucene.util.automaton.CompiledAutomaton automaton, org.apache.lucene.util.BytesRef bytes) throws IOException
      Overrides:
      intersect in class org.apache.lucene.index.Terms
      Throws:
      IOException
    • iterator

      public org.apache.lucene.index.TermsEnum iterator() throws IOException
      Overrides:
      iterator in class org.apache.lucene.index.FilterLeafReader.FilterTerms
      Throws:
      IOException