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.FilterTermsEnum
LeafReader.CoreClosedListener
IndexReader.ReaderClosedListener
in
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, getIndexSort, getPointValues, maxDoc, numDocs, removeCoreClosedListener, toString, unwrap
addCoreClosedListenerAsReaderClosedListener, docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, removeCoreClosedListenerAsReaderClosedListener, terms, totalTermFreq
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, removeReaderClosedListener, tryIncRef
public AssertingLeafReader(LeafReader in)
public Fields fields() throws IOException
fields
in class FilterLeafReader
IOException
public Fields getTermVectors(int docID) throws IOException
getTermVectors
in class FilterLeafReader
IOException
public NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues
in class FilterLeafReader
IOException
public BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues
in class FilterLeafReader
IOException
public SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues
in class FilterLeafReader
IOException
public SortedNumericDocValues getSortedNumericDocValues(String field) throws IOException
getSortedNumericDocValues
in class FilterLeafReader
IOException
public SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues
in class FilterLeafReader
IOException
public NumericDocValues getNormValues(String field) throws IOException
getNormValues
in class FilterLeafReader
IOException
public Bits getLiveDocs()
getLiveDocs
in class FilterLeafReader
public Bits getDocsWithField(String field) throws IOException
getDocsWithField
in class FilterLeafReader
IOException
public Object getCoreCacheKey()
getCoreCacheKey
in class IndexReader
public Object getCombinedCoreAndDeletesKey()
getCombinedCoreAndDeletesKey
in class IndexReader
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.