Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class MonotonicBlockPackedReader

    Provides random access to a stream written with MonotonicBlockPackedWriter.

    Note

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

    Inheritance
    System.Object
    NumericDocValues
    Int64Values
    MonotonicBlockPackedReader
    Inherited Members
    Int64Values.Get(Int32)
    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.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class MonotonicBlockPackedReader : Int64Values

    Constructors

    | Improve this Doc View Source

    MonotonicBlockPackedReader(IndexInput, Int32, Int32, Int64, Boolean)

    Sole constructor.

    Declaration
    public MonotonicBlockPackedReader(IndexInput in, int packedIntsVersion, int blockSize, long valueCount, bool direct)
    Parameters
    Type Name Description
    IndexInput in
    System.Int32 packedIntsVersion
    System.Int32 blockSize
    System.Int64 valueCount
    System.Boolean direct

    Properties

    | Improve this Doc View Source

    Count

    Returns the number of values.

    NOTE: This was size() in Lucene.

    Declaration
    public long Count { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Get(Int64)

    Declaration
    public override long Get(long index)
    Parameters
    Type Name Description
    System.Int64 index
    Returns
    Type Description
    System.Int64
    Overrides
    Int64Values.Get(Int64)
    | Improve this Doc View Source

    RamBytesUsed()

    Returns the approximate RAM bytes used.

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