public final class OwnCacheKeyMultiReader extends MultiReader
MultiReader
that has its own cache key, occasionally useful for
testing purposes.IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener
Constructor and Description |
---|
OwnCacheKeyMultiReader(IndexReader... subReaders)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
IndexReader.CacheHelper |
getReaderCacheHelper() |
doClose
docFreq, document, getDocCount, getSequentialSubReaders, getSumDocFreq, getSumTotalTermFreq, getTermVectors, maxDoc, numDocs, readerBase, readerIndex, totalTermFreq
getContext, toString
close, decRef, document, document, ensureOpen, equals, getRefCount, getTermVector, hasDeletions, hashCode, incRef, leaves, numDeletedDocs, registerParentReader, tryIncRef
public OwnCacheKeyMultiReader(IndexReader... subReaders) throws IOException
IOException
public IndexReader.CacheHelper getReaderCacheHelper()
getReaderCacheHelper
in class MultiReader
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.