Package org.apache.lucene.index
Class FilterDirectoryReader.StandardReaderWrapper
- java.lang.Object
-
- org.apache.lucene.index.FilterDirectoryReader.SubReaderWrapper
-
- org.apache.lucene.index.FilterDirectoryReader.StandardReaderWrapper
-
- Enclosing class:
- FilterDirectoryReader
public static class FilterDirectoryReader.StandardReaderWrapper extends FilterDirectoryReader.SubReaderWrapper
A no-op SubReaderWrapper that simply returns the parent DirectoryReader's original subreaders.
-
-
Constructor Summary
Constructors Constructor Description StandardReaderWrapper()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicReader
wrap(AtomicReader reader)
Wrap one of the parent DirectoryReader's subreaders
-
-
-
Method Detail
-
wrap
public AtomicReader wrap(AtomicReader reader)
Description copied from class:FilterDirectoryReader.SubReaderWrapper
Wrap one of the parent DirectoryReader's subreaders- Specified by:
wrap
in classFilterDirectoryReader.SubReaderWrapper
- Parameters:
reader
- the subreader to wrap- Returns:
- a wrapped/filtered AtomicReader
-
-