Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PackedInt32s.Writer

    A write-once Writer.

    Note

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

    Inheritance
    object
    PackedInt32s.Writer
    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.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class PackedInt32s.Writer

    Constructors

    Writer(DataOutput, int, int)

    A write-once Writer.

    Note

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

    Declaration
    protected Writer(DataOutput @out, int valueCount, int bitsPerValue)
    Parameters
    Type Name Description
    DataOutput out
    int valueCount
    int bitsPerValue

    Fields

    m_bitsPerValue

    A write-once Writer.

    Note

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

    Declaration
    protected readonly int m_bitsPerValue
    Field Value
    Type Description
    int

    m_out

    A write-once Writer.

    Note

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

    Declaration
    protected readonly DataOutput m_out
    Field Value
    Type Description
    DataOutput

    m_valueCount

    A write-once Writer.

    Note

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

    Declaration
    protected readonly int m_valueCount
    Field Value
    Type Description
    int

    Properties

    BitsPerValue

    The number of bits per value.

    Declaration
    public int BitsPerValue { get; }
    Property Value
    Type Description
    int

    Format

    The format used to serialize values.

    Declaration
    protected abstract PackedInt32s.Format Format { get; }
    Property Value
    Type Description
    PackedInt32s.Format

    Ord

    Returns the current ord in the stream (number of values that have been written so far minus one).

    Declaration
    public abstract int Ord { get; }
    Property Value
    Type Description
    int

    Methods

    Add(long)

    Add a value to the stream.

    Declaration
    public abstract void Add(long v)
    Parameters
    Type Name Description
    long v

    Finish()

    Perform end-of-stream operations.

    Declaration
    public abstract void Finish()
    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.