Class FilterDirectoryReader.SubReaderWrapper
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 specialized FilterAtomicReader implementations.
Inheritance
System.Object
FilterDirectoryReader.SubReaderWrapper
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public abstract class SubReaderWrapper : object
Constructors
| Improve this Doc View SourceSubReaderWrapper()
Constructor
Declaration
public SubReaderWrapper()
Methods
| Improve this Doc View SourceWrap(AtomicReader)
Wrap one of the parent DirectoryReader's subreaders
Declaration
public abstract AtomicReader Wrap(AtomicReader reader)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | the subreader to wrap |
Returns
Type | Description |
---|---|
AtomicReader | a wrapped/filtered AtomicReader |