public class AssertingLeafReader extends FilterLeafReader
FilterLeafReader that can be used to apply
additional checks for tests.| Modifier and Type | Class and Description |
|---|---|
static class |
AssertingLeafReader.AssertingBinaryDocValues
Wraps a BinaryDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingBits
Wraps a Bits but with additional asserts
|
static class |
AssertingLeafReader.AssertingFields
Wraps a Fields but with additional asserts
|
static class |
AssertingLeafReader.AssertingNumericDocValues
Wraps a NumericDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingPostingsEnum
Wraps a docsenum with additional checks
|
static class |
AssertingLeafReader.AssertingRandomAccessOrds
Wraps a RandomAccessOrds but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedDocValues
Wraps a SortedDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedNumericDocValues
Wraps a SortedSetDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedSetDocValues
Wraps a SortedSetDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingTerms
Wraps a Terms but with additional asserts
|
FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnumLeafReader.CoreClosedListenerIndexReader.ReaderClosedListenerin| Constructor and Description |
|---|
AssertingLeafReader(LeafReader in) |
| Modifier and Type | Method and Description |
|---|---|
Fields |
fields() |
BinaryDocValues |
getBinaryDocValues(String field) |
Object |
getCombinedCoreAndDeletesKey() |
Object |
getCoreCacheKey() |
Bits |
getDocsWithField(String field) |
Bits |
getLiveDocs() |
NumericDocValues |
getNormValues(String field) |
NumericDocValues |
getNumericDocValues(String field) |
SortedDocValues |
getSortedDocValues(String field) |
SortedNumericDocValues |
getSortedNumericDocValues(String field) |
SortedSetDocValues |
getSortedSetDocValues(String field) |
Fields |
getTermVectors(int docID) |
addCoreClosedListener, checkIntegrity, doClose, document, getDelegate, getFieldInfos, maxDoc, numDocs, removeCoreClosedListener, toString, unwrapaddCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, removeCoreClosedListenerAsReaderClosedListener, termDocsEnum, termPositionsEnum, terms, totalTermFreqaddReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRefpublic AssertingLeafReader(LeafReader in)
public Fields fields() throws IOException
fields in class FilterLeafReaderIOExceptionpublic Fields getTermVectors(int docID) throws IOException
getTermVectors in class FilterLeafReaderIOExceptionpublic NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues in class FilterLeafReaderIOExceptionpublic BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues in class FilterLeafReaderIOExceptionpublic SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues in class FilterLeafReaderIOExceptionpublic SortedNumericDocValues getSortedNumericDocValues(String field) throws IOException
getSortedNumericDocValues in class FilterLeafReaderIOExceptionpublic SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues in class FilterLeafReaderIOExceptionpublic NumericDocValues getNormValues(String field) throws IOException
getNormValues in class FilterLeafReaderIOExceptionpublic Bits getLiveDocs()
getLiveDocs in class FilterLeafReaderpublic Bits getDocsWithField(String field) throws IOException
getDocsWithField in class FilterLeafReaderIOExceptionpublic Object getCoreCacheKey()
getCoreCacheKey in class IndexReaderpublic Object getCombinedCoreAndDeletesKey()
getCombinedCoreAndDeletesKey in class IndexReaderCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.