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
    System.Object
    PackedInt32s.Writer
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Util.Packed
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class Writer

    Constructors

    | Improve this Doc View Source

    Writer(DataOutput, Int32, Int32)

    Declaration
    protected Writer(DataOutput out, int valueCount, int bitsPerValue)
    Parameters
    Type Name Description
    DataOutput out
    System.Int32 valueCount
    System.Int32 bitsPerValue

    Fields

    | Improve this Doc View Source

    m_bitsPerValue

    Declaration
    protected readonly int m_bitsPerValue
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_out

    Declaration
    protected readonly DataOutput m_out
    Field Value
    Type Description
    DataOutput
    | Improve this Doc View Source

    m_valueCount

    Declaration
    protected readonly int m_valueCount
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    BitsPerValue

    The number of bits per value.

    Declaration
    public int BitsPerValue { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Format

    The format used to serialize values.

    Declaration
    protected abstract PackedInt32s.Format Format { get; }
    Property Value
    Type Description
    PackedInt32s.Format
    | Improve this Doc View Source

    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
    System.Int32

    Methods

    | Improve this Doc View Source

    Add(Int64)

    Add a value to the stream.

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

    Finish()

    Perform end-of-stream operations.

    Declaration
    public abstract void Finish()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.