Package org.apache.lucene.tests.index
Class OwnCacheKeyMultiReader
java.lang.Object
org.apache.lucene.index.IndexReader
org.apache.lucene.index.CompositeReader
org.apache.lucene.index.BaseCompositeReader<IndexReader>
org.apache.lucene.index.MultiReader
org.apache.lucene.tests.index.OwnCacheKeyMultiReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
A
MultiReader
that has its own cache key, occasionally useful for testing purposes.-
Nested Class Summary
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.BaseCompositeReader
subReadersSorter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Methods inherited from class org.apache.lucene.index.MultiReader
doClose
Methods inherited from class org.apache.lucene.index.BaseCompositeReader
docFreq, document, getDocCount, getSequentialSubReaders, getSumDocFreq, getSumTotalTermFreq, getTermVectors, maxDoc, numDocs, readerBase, readerIndex, totalTermFreq
Methods inherited from class org.apache.lucene.index.CompositeReader
getContext, toString
Methods inherited from class org.apache.lucene.index.IndexReader
close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
-
Constructor Details
-
OwnCacheKeyMultiReader
Sole constructor.- Throws:
IOException
-
-
Method Details
-
getReaderCacheHelper
- Overrides:
getReaderCacheHelper
in classMultiReader
-
notifyReaderClosedListeners
- Overrides:
notifyReaderClosedListeners
in classIndexReader
- Throws:
IOException
-