Class PackedInt32s.Writer
A write-once Writer.
This is a Lucene.NET INTERNAL API, use at your own risk
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 WriterConstructors
| Improve this Doc View SourceWriter(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 Sourcem_bitsPerValue
Declaration
protected readonly int m_bitsPerValueField Value
| Type | Description | 
|---|---|
| System.Int32 | 
m_out
Declaration
protected readonly DataOutput m_outField Value
| Type | Description | 
|---|---|
| DataOutput | 
m_valueCount
Declaration
protected readonly int m_valueCountField Value
| Type | Description | 
|---|---|
| System.Int32 | 
Properties
| Improve this Doc View SourceBitsPerValue
The number of bits per value.
Declaration
public int BitsPerValue { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
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 | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceAdd(Int64)
Add a value to the stream.
Declaration
public abstract void Add(long v)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64 | v | 
Finish()
Perform end-of-stream operations.
Declaration
public abstract void Finish()