public class AssertingAtomicReader extends FilterAtomicReader
FilterAtomicReader
that can be used to apply
additional checks for tests.Modifier and Type | Class and Description |
---|---|
static class |
AssertingAtomicReader.AssertingBinaryDocValues
Wraps a BinaryDocValues but with additional asserts
|
static class |
AssertingAtomicReader.AssertingBits
Wraps a Bits but with additional asserts
|
static class |
AssertingAtomicReader.AssertingDocsEnum
Wraps a docsenum with additional checks
|
static class |
AssertingAtomicReader.AssertingFields
Wraps a Fields but with additional asserts
|
static class |
AssertingAtomicReader.AssertingNumericDocValues
Wraps a NumericDocValues but with additional asserts
|
static class |
AssertingAtomicReader.AssertingSortedDocValues
Wraps a SortedDocValues but with additional asserts
|
static class |
AssertingAtomicReader.AssertingSortedSetDocValues
Wraps a SortedSetDocValues but with additional asserts
|
static class |
AssertingAtomicReader.AssertingTerms
Wraps a Terms but with additional asserts
|
FilterAtomicReader.FilterDocsAndPositionsEnum, FilterAtomicReader.FilterDocsEnum, FilterAtomicReader.FilterFields, FilterAtomicReader.FilterTerms, FilterAtomicReader.FilterTermsEnum
IndexReader.ReaderClosedListener
in
Constructor and Description |
---|
AssertingAtomicReader(AtomicReader 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) |
SortedSetDocValues |
getSortedSetDocValues(String field) |
Fields |
getTermVectors(int docID) |
doClose, document, getFieldInfos, maxDoc, numDocs, toString
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, hasNorms, termDocsEnum, termPositionsEnum, terms, totalTermFreq
addReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, open, open, open, open, open, registerParentReader, removeReaderClosedListener, tryIncRef
public AssertingAtomicReader(AtomicReader in)
public Fields fields() throws IOException
fields
in class FilterAtomicReader
IOException
public Fields getTermVectors(int docID) throws IOException
getTermVectors
in class FilterAtomicReader
IOException
public NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues
in class FilterAtomicReader
IOException
public BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues
in class FilterAtomicReader
IOException
public SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues
in class FilterAtomicReader
IOException
public SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues
in class FilterAtomicReader
IOException
public NumericDocValues getNormValues(String field) throws IOException
getNormValues
in class FilterAtomicReader
IOException
public Bits getLiveDocs()
getLiveDocs
in class FilterAtomicReader
public Bits getDocsWithField(String field) throws IOException
getDocsWithField
in class FilterAtomicReader
IOException
public Object getCoreCacheKey()
getCoreCacheKey
in class IndexReader
public Object getCombinedCoreAndDeletesKey()
getCombinedCoreAndDeletesKey
in class IndexReader
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.