Class FilterDirectoryReader

All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
ExitableDirectoryReader, SoftDeletesDirectoryReaderWrapper

public abstract class FilterDirectoryReader extends DirectoryReader
A FilterDirectoryReader wraps another DirectoryReader, allowing implementations to transform or extend it.

Subclasses should implement doWrapDirectoryReader to return an instance of the subclass.

If the subclass wants to wrap the DirectoryReader's subreaders, it should also implement a SubReaderWrapper subclass, and pass an instance to its super constructor.