C# Class Lucene.Net.Codecs.IntBlock.FixedIntBlockIndexOutput

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 IntIndexOutput inside Directory. Wrapping a generic IndexInput will likely cost performance. @lucene.experimental
Inheritance: Lucene.Net.Codecs.Sep.IntIndexOutput
Exibir arquivo Open project: apache/lucenenet Class Usage Examples

Protected Properties

Property Type Description
buffer int[]
output Lucene.Net.Store.IndexOutput

Public Methods

Method Description
Dispose ( ) : void
Index ( ) : Lucene.Net.Codecs.Sep.IntIndexOutputIndex
Write ( int v ) : void

Protected Methods

Method Description
FixedIntBlockIndexOutput ( Lucene.Net.Store.IndexOutput output, int fixedBlockSize ) : Lucene.Net.Codecs.Sep
FlushBlock ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FixedIntBlockIndexOutput() protected method

protected FixedIntBlockIndexOutput ( Lucene.Net.Store.IndexOutput output, int fixedBlockSize ) : Lucene.Net.Codecs.Sep
output Lucene.Net.Store.IndexOutput
fixedBlockSize int
return Lucene.Net.Codecs.Sep

FlushBlock() protected abstract method

protected abstract FlushBlock ( ) : void
return void

Index() public method

public Index ( ) : Lucene.Net.Codecs.Sep.IntIndexOutputIndex
return Lucene.Net.Codecs.Sep.IntIndexOutputIndex

Write() public method

public Write ( int v ) : void
v int
return void

Property Details

buffer protected_oe property

protected int[] buffer
return int[]

output protected_oe property

protected IndexOutput,Lucene.Net.Store output
return Lucene.Net.Store.IndexOutput