Show / Hide Table of Contents

    Class MonotonicAppendingInt64Buffer

    Utility class to buffer signed longs in memory, which is optimized for the case where the sequence is monotonic, although it can encode any sequence of arbitrary longs. It only supports appending.

    NOTE: This was MonotonicAppendingLongBuffer in Lucene.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    NumericDocValues
    Int64Values
    AbstractAppendingInt64Buffer
    MonotonicAppendingInt64Buffer
    Inherited Members
    AbstractAppendingInt64Buffer.PageSize
    AbstractAppendingInt64Buffer.Count
    AbstractAppendingInt64Buffer.Add(Int64)
    AbstractAppendingInt64Buffer.Get(Int64)
    AbstractAppendingInt64Buffer.Get(Int64, Int64[], Int32, Int32)
    AbstractAppendingInt64Buffer.GetIterator()
    AbstractAppendingInt64Buffer.Freeze()
    Int64Values.Get(Int32)
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class MonotonicAppendingInt64Buffer : AbstractAppendingInt64Buffer

    Constructors

    | Improve this Doc View Source

    MonotonicAppendingInt64Buffer()

    Create an MonotonicAppendingInt64Buffer with initialPageCount=16, pageSize=1024 and acceptableOverheadRatio=DEFAULT.

    Declaration
    public MonotonicAppendingInt64Buffer()
    | Improve this Doc View Source

    MonotonicAppendingInt64Buffer(Int32, Int32, Single)

    Declaration
    public MonotonicAppendingInt64Buffer(int initialPageCount, int pageSize, float acceptableOverheadRatio)
    Parameters
    Type Name Description
    System.Int32 initialPageCount

    The initial number of pages.

    System.Int32 pageSize

    The size of a single page.

    System.Single acceptableOverheadRatio

    An acceptable overhead ratio per value.

    | Improve this Doc View Source

    MonotonicAppendingInt64Buffer(Single)

    Create an AppendingDeltaPackedInt64Buffer with initialPageCount=16, pageSize=1024.

    Declaration
    public MonotonicAppendingInt64Buffer(float acceptableOverheadRatio)
    Parameters
    Type Name Description
    System.Single acceptableOverheadRatio

    Methods

    | Improve this Doc View Source

    RamBytesUsed()

    Declaration
    public override long RamBytesUsed()
    Returns
    Type Description
    System.Int64
    Overrides
    AbstractAppendingInt64Buffer.RamBytesUsed()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)