Package org.apache.lucene.index
Class FilterDirectoryReader.SubReaderWrapper
java.lang.Object
org.apache.lucene.index.FilterDirectoryReader.SubReaderWrapper
- Direct Known Subclasses:
FilterDirectoryReader.StandardReaderWrapper
- Enclosing class:
FilterDirectoryReader
Factory class passed to FilterDirectoryReader constructor that allows
subclasses to wrap the filtered DirectoryReader's subreaders. You
can use this to, e.g., wrap the subreaders with specialised
FilterAtomicReader implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AtomicReaderwrap(AtomicReader reader) Wrap one of the parent DirectoryReader's subreaders
-
Constructor Details
-
SubReaderWrapper
public SubReaderWrapper()Constructor
-
-
Method Details
-
wrap
Wrap one of the parent DirectoryReader's subreaders- Parameters:
reader- the subreader to wrap- Returns:
- a wrapped/filtered AtomicReader
-