Class VariableInt32BlockIndexOutput
Abstract base class that writes variable-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 VariableIntBlockIndexOutput in Lucene
@lucene.experimental
Inherited Members
Assembly: Lucene.Net.Codecs.dll
Syntax
public abstract class VariableInt32BlockIndexOutput : Int32IndexOutput
Remarks
Naive int block API that writes vInts. This is expected to give poor performance; it's really only for testing the pluggability. One should typically use pfor instead.
Constructors
Name | Description |
---|---|
VariableInt32BlockIndexOutput(IndexOutput, Int32) | NOTE: |
Fields
Name | Description |
---|---|
m_output |
Methods
Name | Description |
---|---|
Add(Int32) | Called one value at a time. Return the number of buffered input values that have been written to out. |
Dispose(Boolean) | |
GetIndex() | |
Write(Int32) |