Show / Hide Table of Contents

    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
    FilterDirectoryReader.StandardReaderWrapper
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class SubReaderWrapper : object

    Constructors

    | Improve this Doc View Source

    SubReaderWrapper()

    Constructor

    Declaration
    public SubReaderWrapper()

    Methods

    | Improve this Doc View Source

    Wrap(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

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)