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
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public abstract class SubReaderWrapper
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 |