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 TypeMethodDescriptionvoidMaybe throws an exception ;)booleanIf this method returns true theTermsinstance for the given field is wrapped with Thrower support otherwise no exception will be thrown for the currentTermsinstance or any other instance obtained from it.
-
Method Details
-
maybeThrow
Maybe throws an exception ;)- Throws:
IOException
-
wrapTerms
If this method returns true theTermsinstance for the given field is wrapped with Thrower support otherwise no exception will be thrown for the currentTermsinstance or any other instance obtained from it.
-