java.io.Closeable, java.lang.AutoCloseablepublic class ThrowingLeafReaderWrapper extends FilterLeafReader
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ThrowingLeafReaderWrapper.Flags |
Flags passed to
ThrowingLeafReaderWrapper.Thrower.maybeThrow(org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Flags)
when the corresponding method is called. |
static interface |
ThrowingLeafReaderWrapper.Thrower |
A callback interface that allows to throw certain exceptions for
methods called on the IndexReader that is wrapped by
ThrowingLeafReaderWrapper |
static class |
ThrowingLeafReaderWrapper.ThrowingFields |
Wraps a Fields but with additional asserts
|
static class |
ThrowingLeafReaderWrapper.ThrowingTerms |
Wraps a Terms but with additional asserts
|
FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnumIndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListenerin| Constructor | Description |
|---|---|
ThrowingLeafReaderWrapper(LeafReader in,
ThrowingLeafReaderWrapper.Thrower thrower) |
| Modifier and Type | Method | Description |
|---|---|---|
BinaryDocValues |
getBinaryDocValues(java.lang.String field) |
|
IndexReader.CacheHelper |
getCoreCacheHelper() |
|
NumericDocValues |
getNormValues(java.lang.String field) |
|
NumericDocValues |
getNumericDocValues(java.lang.String field) |
|
IndexReader.CacheHelper |
getReaderCacheHelper() |
|
SortedDocValues |
getSortedDocValues(java.lang.String field) |
|
SortedSetDocValues |
getSortedSetDocValues(java.lang.String field) |
|
Fields |
getTermVectors(int docID) |
|
Terms |
terms(java.lang.String field) |
checkIntegrity, doClose, document, getDelegate, getFieldInfos, getLiveDocs, getMetaData, getPointValues, getSortedNumericDocValues, maxDoc, numDocs, toString, unwrapclose, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRefdocFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreqpublic ThrowingLeafReaderWrapper(LeafReader in, ThrowingLeafReaderWrapper.Thrower thrower)
public Terms terms(java.lang.String field) throws java.io.IOException
terms in class FilterLeafReaderjava.io.IOExceptionpublic Fields getTermVectors(int docID) throws java.io.IOException
getTermVectors in class FilterLeafReaderjava.io.IOExceptionpublic NumericDocValues getNumericDocValues(java.lang.String field) throws java.io.IOException
getNumericDocValues in class FilterLeafReaderjava.io.IOExceptionpublic BinaryDocValues getBinaryDocValues(java.lang.String field) throws java.io.IOException
getBinaryDocValues in class FilterLeafReaderjava.io.IOExceptionpublic SortedDocValues getSortedDocValues(java.lang.String field) throws java.io.IOException
getSortedDocValues in class FilterLeafReaderjava.io.IOExceptionpublic SortedSetDocValues getSortedSetDocValues(java.lang.String field) throws java.io.IOException
getSortedSetDocValues in class FilterLeafReaderjava.io.IOExceptionpublic NumericDocValues getNormValues(java.lang.String field) throws java.io.IOException
getNormValues in class FilterLeafReaderjava.io.IOExceptionpublic IndexReader.CacheHelper getCoreCacheHelper()
getCoreCacheHelper in class LeafReaderpublic IndexReader.CacheHelper getReaderCacheHelper()
getReaderCacheHelper in class IndexReader