Show / Hide Table of Contents

    Class AbstractAppendingInt64Buffer

    Common functionality shared by AppendingDeltaPackedInt64Buffer and MonotonicAppendingInt64Buffer.

    NOTE: This was AbstractAppendingLongBuffer in Lucene

    Inheritance
    System.Object
    NumericDocValues
    Int64Values
    AbstractAppendingInt64Buffer
    AppendingDeltaPackedInt64Buffer
    AppendingPackedInt64Buffer
    MonotonicAppendingInt64Buffer
    Inherited Members
    Int64Values.Get(Int32)
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class AbstractAppendingInt64Buffer : Int64Values

    Properties

    | Improve this Doc View Source

    Count

    Get the number of values that have been added to the buffer.

    NOTE: This was size() in Lucene.

    Declaration
    public long Count { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    PageSize

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

    Methods

    | Improve this Doc View Source

    Add(Int64)

    Append a value to this buffer.

    Declaration
    public void Add(long l)
    Parameters
    Type Name Description
    System.Int64 l
    | Improve this Doc View Source

    Freeze()

    Pack all pending values in this buffer. Subsequent calls to Add(Int64) will fail.

    Declaration
    public virtual void Freeze()
    | Improve this Doc View Source

    Get(Int64)

    Declaration
    public override sealed 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

    Get(Int64, Int64[], Int32, Int32)

    Bulk get: read at least one and at most len s starting from index into arr[off:off+len] and return the actual number of values that have been read.

    Declaration
    public int Get(long index, long[] arr, int off, int len)
    Parameters
    Type Name Description
    System.Int64 index
    System.Int64[] arr
    System.Int32 off
    System.Int32 len
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetIterator()

    Return an iterator over the values of this buffer.

    Declaration
    public virtual AbstractAppendingInt64Buffer.Iterator GetIterator()
    Returns
    Type Description
    AbstractAppendingInt64Buffer.Iterator
    | Improve this Doc View Source

    RamBytesUsed()

    Return the number of bytes used by this instance.

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