Show / Hide Table of Contents

    Class BytesRefHash.BytesStartArray

    Manages allocation of the per-term addresses.

    Inheritance
    System.Object
    BytesRefHash.BytesStartArray
    BytesRefHash.DirectBytesStartArray
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class BytesStartArray : object

    Methods

    | Improve this Doc View Source

    BytesUsed()

    A Counter reference holding the number of bytes used by this BytesRefHash.BytesStartArray. The BytesRefHash uses this reference to track it memory usage.

    Declaration
    public abstract Counter BytesUsed()
    Returns
    Type Description
    Counter

    a reference holding the number of bytes used by this BytesRefHash.BytesStartArray.

    | Improve this Doc View Source

    Clear()

    Clears the BytesRefHash.BytesStartArray and returns the cleared instance.

    Declaration
    public abstract int[] Clear()
    Returns
    Type Description
    System.Int32[]

    The cleared instance, this might be null.

    | Improve this Doc View Source

    Grow()

    Grows the BytesRefHash.BytesStartArray.

    Declaration
    public abstract int[] Grow()
    Returns
    Type Description
    System.Int32[]

    The grown array.

    | Improve this Doc View Source

    Init()

    Initializes the BytesRefHash.BytesStartArray. This call will allocate memory.

    Declaration
    public abstract int[] Init()
    Returns
    Type Description
    System.Int32[]

    The initialized bytes start array.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)