Package org.elasticsearch.test.engine
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
-
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)
-
Constructor Details
-
ThrowingFields
public ThrowingFields(org.apache.lucene.index.Fields in, ThrowingLeafReaderWrapper.Thrower thrower)
-
-
Method Details
-
terms
public org.apache.lucene.index.Terms terms(java.lang.String field) throws java.io.IOException- Overrides:
terms
in classorg.apache.lucene.index.FilterLeafReader.FilterFields
- Throws:
java.io.IOException
-