Class FixedInt32BlockIndexOutput
Abstract base class that writes fixed-size blocks of ints
to an IndexOutput. While this is a simple approach, a
more performant approach would directly create an impl
of Int32IndexOutput inside Directory. Wrapping a generic
IndexOutput will likely cost performance.
NOTE: This was FixedIntBlockIndexOutput in Lucene
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
FixedInt32BlockIndexOutput
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class FixedInt32BlockIndexOutput : Int32IndexOutput
Constructors
|
Improve this Doc
View Source
FixedInt32BlockIndexOutput(IndexOutput, Int32)
Declaration
protected FixedInt32BlockIndexOutput(IndexOutput output, int fixedBlockSize)
Parameters
Type |
Name |
Description |
IndexOutput |
output |
|
System.Int32 |
fixedBlockSize |
|
Fields
|
Improve this Doc
View Source
m_buffer
Declaration
protected readonly int[] m_buffer
Field Value
Type |
Description |
System.Int32[] |
|
|
Improve this Doc
View Source
m_output
Declaration
protected readonly IndexOutput m_output
Field Value
Methods
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
FlushBlock()
Declaration
protected abstract void FlushBlock()
|
Improve this Doc
View Source
GetIndex()
Declaration
public override Int32IndexOutput.Index GetIndex()
Returns
Overrides
|
Improve this Doc
View Source
Write(Int32)
Declaration
public override void Write(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Overrides