Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BytesRefHash.BytesStartArray

    Manages allocation of the per-term addresses.

    Inheritance
    object
    BytesRefHash.BytesStartArray
    BytesRefHash.DirectBytesStartArray
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class BytesRefHash.BytesStartArray

    Methods

    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 J2N.Threading.Atomic.AtomicInt64 reference holding the number of bytes used by this BytesRefHash.BytesStartArray.

    Clear()

    Clears the BytesRefHash.BytesStartArray and returns the cleared instance.

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

    The cleared instance, this might be null.

    Grow()

    Grows the BytesRefHash.BytesStartArray.

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

    The grown array.

    Init()

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

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

    The initialized bytes start array.

    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.