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.
Inherited Members
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()