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 byThrowingLeafReaderWrapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
maybeThrow(ThrowingLeafReaderWrapper.Flags flag)
Maybe throws an exception ;)boolean
wrapTerms(java.lang.String field)
-
-
-
Method Detail
-
maybeThrow
void maybeThrow(ThrowingLeafReaderWrapper.Flags flag) throws java.io.IOException
Maybe throws an exception ;)- Throws:
java.io.IOException
-
wrapTerms
boolean wrapTerms(java.lang.String field)
-
-