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.AssertingImpactsEnum
Wraps a
ImpactsEnum with additional checks |
static class |
AssertingLeafReader.AssertingNumericDocValues
Wraps a NumericDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingPointValues
Wraps a SortedSetDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingPostingsEnum
Wraps a docsenum with additional checks
|
static class |
AssertingLeafReader.AssertingSortedDocValues
Wraps a SortedDocValues but with additional asserts
|
static class |
AssertingLeafReader.AssertingSortedNumericDocValues
Wraps a SortedNumericDocValues 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.FilterTermsEnumIndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListenerin| Constructor and Description |
|---|
AssertingLeafReader(LeafReader in) |
| Modifier and Type | Method and Description |
|---|---|
BinaryDocValues |
getBinaryDocValues(String field) |
IndexReader.CacheHelper |
getCoreCacheHelper() |
Bits |
getLiveDocs() |
NumericDocValues |
getNormValues(String field) |
NumericDocValues |
getNumericDocValues(String field) |
PointValues |
getPointValues(String field) |
IndexReader.CacheHelper |
getReaderCacheHelper() |
SortedDocValues |
getSortedDocValues(String field) |
SortedNumericDocValues |
getSortedNumericDocValues(String field) |
SortedSetDocValues |
getSortedSetDocValues(String field) |
Fields |
getTermVectors(int docID) |
Terms |
terms(String field) |
checkIntegrity, doClose, document, getDelegate, getFieldInfos, getMetaData, maxDoc, numDocs, toString, unwrapdocFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreqclose, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRefpublic AssertingLeafReader(LeafReader in)
public Terms terms(String field) throws IOException
terms 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 PointValues getPointValues(String field) throws IOException
getPointValues in class FilterLeafReaderIOExceptionpublic Bits getLiveDocs()
getLiveDocs in class FilterLeafReaderpublic IndexReader.CacheHelper getCoreCacheHelper()
getCoreCacheHelper in class LeafReaderpublic IndexReader.CacheHelper getReaderCacheHelper()
getReaderCacheHelper in class IndexReaderCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.