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
    System.Object
    ReaderSlice
    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)
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class ReaderSlice

    Constructors

    | Improve this Doc View Source

    ReaderSlice(Int32, Int32, Int32)

    Sole constructor.

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

    Fields

    | Improve this Doc View Source

    EMPTY_ARRAY

    Zero-length ReaderSlice array.

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

    Properties

    | Improve this Doc View Source

    Length

    Number of documents in this slice.

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ReaderIndex

    Sub-reader index for this slice.

    Declaration
    public int ReaderIndex { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Start

    Document ID this slice starts from.

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

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.