public class AssertingDirectoryReader extends FilterDirectoryReader
DirectoryReader
that wraps all its subreaders with
AssertingLeafReader
FilterDirectoryReader.SubReaderWrapper
IndexReader.CacheHelper, IndexReader.CacheKey, IndexReader.ClosedListener
in
directory
Constructor and Description |
---|
AssertingDirectoryReader(DirectoryReader in) |
Modifier and Type | Method and Description |
---|---|
protected DirectoryReader |
doWrapDirectoryReader(DirectoryReader in) |
IndexReader.CacheHelper |
getReaderCacheHelper() |
doClose, doOpenIfChanged, doOpenIfChanged, doOpenIfChanged, getDelegate, getIndexCommit, getVersion, isCurrent, unwrap
directory, indexExists, listCommits, open, open, open, open, openIfChanged, openIfChanged, openIfChanged, openIfChanged
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 AssertingDirectoryReader(DirectoryReader in) throws IOException
IOException
protected DirectoryReader doWrapDirectoryReader(DirectoryReader in) throws IOException
doWrapDirectoryReader
in class FilterDirectoryReader
IOException
public IndexReader.CacheHelper getReaderCacheHelper()
getReaderCacheHelper
in class IndexReader
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.