Package org.apache.lucene.tests.index
Class AllDeletedFilterReader
java.lang.Object
org.apache.lucene.index.IndexReader
org.apache.lucene.index.LeafReader
org.apache.lucene.index.FilterLeafReader
org.apache.lucene.tests.index.AllDeletedFilterReader
- All Implemented Interfaces:
Closeable,AutoCloseable
Filters the incoming reader and makes all documents appear deleted.
-
Nested Class Summary
Nested 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
Methods inherited from class org.apache.lucene.index.FilterLeafReader
checkIntegrity, doClose, getBinaryDocValues, getByteVectorValues, getDelegate, getDocValuesSkipper, getFieldInfos, getFloatVectorValues, getMetaData, getNormValues, getNumericDocValues, getPointValues, getSortedDocValues, getSortedNumericDocValues, getSortedSetDocValues, maxDoc, searchNearestVectors, searchNearestVectors, storedFields, terms, termVectors, 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
-
AllDeletedFilterReader
-
-
Method Details
-
getLiveDocs
- Overrides:
getLiveDocsin classFilterLeafReader
-
numDocs
public int numDocs()- Overrides:
numDocsin classFilterLeafReader
-
getCoreCacheHelper
- Specified by:
getCoreCacheHelperin classLeafReader
-
getReaderCacheHelper
- Specified by:
getReaderCacheHelperin classIndexReader
-