Class AbstractBlockPackedWriter
Inheritance
System.Object
AbstractBlockPackedWriter
Assembly: Lucene.Net.dll
Syntax
public abstract class AbstractBlockPackedWriter : object
Constructors
|
Improve this Doc
View Source
AbstractBlockPackedWriter(DataOutput, Int32)
Declaration
public AbstractBlockPackedWriter(DataOutput out, int blockSize)
Parameters
Type |
Name |
Description |
DataOutput |
out |
|
System.Int32 |
blockSize |
the number of values of a single block, must be a multiple of 64 .
|
Fields
|
Improve this Doc
View Source
m_blocks
Declaration
protected byte[] m_blocks
Field Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
m_finished
Declaration
protected bool m_finished
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
m_off
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
m_ord
Declaration
Field Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
m_out
Declaration
protected DataOutput m_out
Field Value
|
Improve this Doc
View Source
m_values
Declaration
protected readonly long[] m_values
Field Value
Type |
Description |
System.Int64[] |
|
Properties
|
Improve this Doc
View Source
Ord
Return the number of values which have been added.
Declaration
public virtual long Ord { get; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
|
Improve this Doc
View Source
Add(Int64)
Declaration
public virtual void Add(long l)
Parameters
Type |
Name |
Description |
System.Int64 |
l |
|
|
Improve this Doc
View Source
Finish()
Flush all buffered data to disk. This instance is not usable anymore
after this method has been called until Reset(DataOutput) has
been called.
Declaration
public virtual void Finish()
|
Improve this Doc
View Source
Flush()
Declaration
protected abstract void Flush()
|
Improve this Doc
View Source
Reset(DataOutput)
Reset this writer to wrap out
. The block size remains unchanged.
Declaration
public virtual void Reset(DataOutput out)
Parameters
|
Improve this Doc
View Source
WriteValues(Int32)
Declaration
protected void WriteValues(int bitsRequired)
Parameters
Type |
Name |
Description |
System.Int32 |
bitsRequired |
|