Package org.apache.lucene.tests.index
Class AssertingLeafReader
java.lang.Object
org.apache.lucene.index.IndexReader
org.apache.lucene.index.LeafReader
org.apache.lucene.index.FilterLeafReader
org.apache.lucene.tests.index.AssertingLeafReader
- All Implemented Interfaces:
Closeable,AutoCloseable
A
FilterLeafReader that can be used to apply additional checks for tests.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWraps a BinaryDocValues but with additional assertsstatic classWraps a Bits but with additional assertsstatic classWraps a DocValuesSkipper but with additional assertsstatic classWraps a Fields but with additional assertsstatic classWraps aImpactsEnumwith additional checksstatic classWraps a NumericDocValues but with additional assertsstatic classWraps a SortedSetDocValues but with additional assertsstatic classWraps a docsenum with additional checksstatic classWraps a SortedDocValues but with additional assertsstatic classWraps a SortedNumericDocValues but with additional assertsstatic classWraps a SortedSetDocValues but with additional assertsstatic classWraps a StoredFields but with additional assertsstatic classWraps a Terms but with additional assertsstatic classWraps a TermVectors but with additional assertsNested classes/interfaces inherited from class org.apache.lucene.index.FilterLeafReader
FilterLeafReader.FilterFields, FilterLeafReader.FilterPostingsEnum, FilterLeafReader.FilterTerms, FilterLeafReader.FilterTermsEnumNested classes/interfaces inherited from class org.apache.lucene.index.IndexReader
IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener -
Field Summary
Fields inherited from class org.apache.lucene.index.FilterLeafReader
in -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBinaryDocValues(String field) getDocValuesSkipper(String field) getNormValues(String field) getNumericDocValues(String field) getPointValues(String field) getSortedDocValues(String field) getSortedNumericDocValues(String field) getSortedSetDocValues(String field) Methods inherited from class org.apache.lucene.index.FilterLeafReader
checkIntegrity, doClose, getByteVectorValues, getDelegate, getFieldInfos, getFloatVectorValues, getMetaData, maxDoc, numDocs, searchNearestVectors, searchNearestVectors, toString, unwrapMethods inherited from class org.apache.lucene.index.LeafReader
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, searchNearestVectors, searchNearestVectors, totalTermFreqMethods inherited from class org.apache.lucene.index.IndexReader
close, decRef, ensureOpen, equals, getRefCount, hasDeletions, hashCode, incRef, leaves, notifyReaderClosedListeners, numDeletedDocs, registerParentReader, tryIncRef
-
Constructor Details
-
AssertingLeafReader
-
-
Method Details
-
terms
- Overrides:
termsin classFilterLeafReader- Throws:
IOException
-
termVectors
- Overrides:
termVectorsin classFilterLeafReader- Throws:
IOException
-
storedFields
- Overrides:
storedFieldsin classFilterLeafReader- Throws:
IOException
-
getNumericDocValues
- Overrides:
getNumericDocValuesin classFilterLeafReader- Throws:
IOException
-
getBinaryDocValues
- Overrides:
getBinaryDocValuesin classFilterLeafReader- Throws:
IOException
-
getSortedDocValues
- Overrides:
getSortedDocValuesin classFilterLeafReader- Throws:
IOException
-
getSortedNumericDocValues
- Overrides:
getSortedNumericDocValuesin classFilterLeafReader- Throws:
IOException
-
getSortedSetDocValues
- Overrides:
getSortedSetDocValuesin classFilterLeafReader- Throws:
IOException
-
getDocValuesSkipper
- Overrides:
getDocValuesSkipperin classFilterLeafReader- Throws:
IOException
-
getNormValues
- Overrides:
getNormValuesin classFilterLeafReader- Throws:
IOException
-
getPointValues
- Overrides:
getPointValuesin classFilterLeafReader- Throws:
IOException
-
getLiveDocs
- Overrides:
getLiveDocsin classFilterLeafReader
-
getCoreCacheHelper
- Specified by:
getCoreCacheHelperin classLeafReader
-
getReaderCacheHelper
- Specified by:
getReaderCacheHelperin classIndexReader
-