Package org.elasticsearch.test.engine
Interface ThrowingLeafReaderWrapper.Thrower
- Enclosing class:
- ThrowingLeafReaderWrapper
public static interface ThrowingLeafReaderWrapper.Thrower
A callback interface that allows to throw certain exceptions for
methods called on the IndexReader that is wrapped by
ThrowingLeafReaderWrapper
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Maybe throws an exception ;)boolean
If this method returns true theTerms
instance for the given field is wrapped with Thrower support otherwise no exception will be thrown for the currentTerms
instance or any other instance obtained from it.
-
Method Details
-
maybeThrow
Maybe throws an exception ;)- Throws:
IOException
-
wrapTerms
If this method returns true theTerms
instance for the given field is wrapped with Thrower support otherwise no exception will be thrown for the currentTerms
instance or any other instance obtained from it.
-