Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BlockPackedReader

    Provides random access to a stream written with BlockPackedWriter.

    Note

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

    Inheritance
    object
    NumericDocValues
    Int64Values
    BlockPackedReader
    Inherited Members
    Int64Values.Get(int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class BlockPackedReader : Int64Values

    Constructors

    BlockPackedReader(IndexInput, int, int, long, bool)

    Sole constructor.

    Declaration
    public BlockPackedReader(IndexInput @in, int packedIntsVersion, int blockSize, long valueCount, bool direct)
    Parameters
    Type Name Description
    IndexInput in
    int packedIntsVersion
    int blockSize
    long valueCount
    bool direct

    Methods

    Get(long)

    Get value at index.

    Declaration
    public override long Get(long index)
    Parameters
    Type Name Description
    long index
    Returns
    Type Description
    long
    Overrides
    Int64Values.Get(long)

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public long RamBytesUsed()
    Returns
    Type Description
    long
    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.