Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PackedInt32s.Mutable

    A packed integer array that can be modified.

    Note

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

    Inheritance
    object
    NumericDocValues
    PackedInt32s.Reader
    PackedInt32s.Mutable
    GrowableWriter
    PackedInt32s.MutableImpl
    Inherited Members
    PackedInt32s.Reader.Get(int, long[], int, int)
    PackedInt32s.Reader.BitsPerValue
    PackedInt32s.Reader.Count
    PackedInt32s.Reader.RamBytesUsed()
    PackedInt32s.Reader.GetArray()
    PackedInt32s.Reader.HasArray
    NumericDocValues.Get(int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class PackedInt32s.Mutable : PackedInt32s.Reader

    Methods

    Clear()

    Sets all values to 0.

    Declaration
    public virtual void Clear()

    Fill(int, int, long)

    Fill the mutable from fromIndex (inclusive) to toIndex (exclusive) with val.

    Declaration
    public virtual void Fill(int fromIndex, int toIndex, long val)
    Parameters
    Type Name Description
    int fromIndex
    int toIndex
    long val

    Save(DataOutput)

    Save this mutable into out. Instantiating a reader from the generated data will return a reader with the same number of bits per value.

    Declaration
    public virtual void Save(DataOutput @out)
    Parameters
    Type Name Description
    DataOutput out

    Set(int, long)

    Set the value at the given index in the array.

    Declaration
    public abstract void Set(int index, long value)
    Parameters
    Type Name Description
    int index

    Where the value should be positioned.

    long value

    A value conforming to the constraints set by the array.

    Set(int, long[], int, int)

    Bulk set: set at least one and at most len longs starting at off in arr into this mutable, starting at index. Returns the actual number of values that have been set.

    Declaration
    public virtual int Set(int index, long[] arr, int off, int len)
    Parameters
    Type Name Description
    int index
    long[] arr
    int off
    int len
    Returns
    Type Description
    int
    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.