Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ReaderSlice

    Subreader slice from a parent composite reader.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Inheritance
    object
    ReaderSlice
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class ReaderSlice

    Constructors

    ReaderSlice(int, int, int)

    Sole constructor.

    Declaration
    public ReaderSlice(int start, int length, int readerIndex)
    Parameters
    Type Name Description
    int start
    int length
    int readerIndex

    Fields

    EMPTY_ARRAY

    Zero-length ReaderSlice array.

    Declaration
    public static readonly ReaderSlice[] EMPTY_ARRAY
    Field Value
    Type Description
    ReaderSlice[]

    Properties

    Length

    Number of documents in this slice.

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    int

    ReaderIndex

    Sub-reader index for this slice.

    Declaration
    public int ReaderIndex { get; }
    Property Value
    Type Description
    int

    Start

    Document ID this slice starts from.

    Declaration
    public int Start { get; }
    Property Value
    Type Description
    int

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.