Class ThrowingLeafReaderWrapper.ThrowingFields

java.lang.Object
org.apache.lucene.index.Fields
org.apache.lucene.index.FilterLeafReader.FilterFields
org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingFields
All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
Enclosing class:
ThrowingLeafReaderWrapper

public static class ThrowingLeafReaderWrapper.ThrowingFields
extends org.apache.lucene.index.FilterLeafReader.FilterFields
Wraps a Fields but with additional asserts
  • Field Summary

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

    in

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

    EMPTY_ARRAY
  • Constructor Summary

    Constructors 
    Constructor Description
    ThrowingFields​(org.apache.lucene.index.Fields in, ThrowingLeafReaderWrapper.Thrower thrower)  
  • Method Summary

    Modifier and Type Method Description
    org.apache.lucene.index.Terms terms​(java.lang.String field)  

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

    iterator, size

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

  • Method Details

    • terms

      public org.apache.lucene.index.Terms terms​(java.lang.String field) throws java.io.IOException
      Overrides:
      terms in class org.apache.lucene.index.FilterLeafReader.FilterFields
      Throws:
      java.io.IOException