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.FilterTermsEnum
Nested 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
-
Method Summary
Methods inherited from class org.apache.lucene.index.FilterLeafReader
checkIntegrity, doClose, document, getBinaryDocValues, getDelegate, getFieldInfos, getMetaData, getNormValues, getNumericDocValues, getPointValues, getSortedDocValues, getSortedNumericDocValues, getSortedSetDocValues, getTermVectors, getVectorValues, maxDoc, searchNearestVectors, terms, toString, unwrap
Methods inherited from class org.apache.lucene.index.LeafReader
docFreq, getContext, getDocCount, getSumDocFreq, getSumTotalTermFreq, postings, postings, totalTermFreq
Methods inherited from class org.apache.lucene.index.IndexReader
close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, notifyReaderClosedListeners, numDeletedDocs, registerParentReader, tryIncRef
-
Constructor Details
-
AllDeletedFilterReader
-
-
Method Details
-
getLiveDocs
- Overrides:
getLiveDocs
in classFilterLeafReader
-
numDocs
public int numDocs()- Overrides:
numDocs
in classFilterLeafReader
-
getCoreCacheHelper
- Specified by:
getCoreCacheHelper
in classLeafReader
-
getReaderCacheHelper
- Specified by:
getReaderCacheHelper
in classIndexReader
-