org.apache.lucene.index
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.FilterTermsEnumIndexReader.ReaderClosedListenerin| 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, toStringdocFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, hasNorms, termDocsEnum, termPositionsEnum, terms, totalTermFreqaddReaderClosedListener, close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, open, open, open, open, open, registerParentReader, removeReaderClosedListener, tryIncRefpublic AssertingAtomicReader(AtomicReader in)
public Fields fields() throws IOException
fields in class FilterAtomicReaderIOExceptionpublic Fields getTermVectors(int docID) throws IOException
getTermVectors in class FilterAtomicReaderIOExceptionpublic NumericDocValues getNumericDocValues(String field) throws IOException
getNumericDocValues in class FilterAtomicReaderIOExceptionpublic BinaryDocValues getBinaryDocValues(String field) throws IOException
getBinaryDocValues in class FilterAtomicReaderIOExceptionpublic SortedDocValues getSortedDocValues(String field) throws IOException
getSortedDocValues in class FilterAtomicReaderIOExceptionpublic SortedSetDocValues getSortedSetDocValues(String field) throws IOException
getSortedSetDocValues in class FilterAtomicReaderIOExceptionpublic NumericDocValues getNormValues(String field) throws IOException
getNormValues in class FilterAtomicReaderIOExceptionpublic Bits getLiveDocs()
getLiveDocs in class FilterAtomicReaderpublic Bits getDocsWithField(String field) throws IOException
getDocsWithField in class FilterAtomicReaderIOExceptionpublic Object getCoreCacheKey()
getCoreCacheKey in class IndexReaderpublic Object getCombinedCoreAndDeletesKey()
getCombinedCoreAndDeletesKey in class IndexReaderCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.