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

Abstract base class that reads variable-size blocks of ints from an IndexInput. While this is a simple approach, a more performant approach would directly create an impl of IntIndexInput inside Directory. Wrapping a generic IndexInput will likely cost performance. @lucene.experimental
Inheritance: Lucene.Net.Codecs.Sep.IntIndexInput
ファイルを表示 Open project: apache/lucenenet Class Usage Examples

Protected Properties

Property Type Description
maxBlockSize int

Public Methods

Method Description
Dispose ( ) : void
Index ( ) : Lucene.Net.Codecs.Sep.IntIndexInputIndex
Reader ( ) : Lucene.Net.Codecs.Sep.IntIndexInputReader

Protected Methods

Method Description
GetBlockReader ( IndexInput @in, int buffer ) : IBlockReader
VariableIntBlockIndexInput ( IndexInput input ) : Lucene.Net.Codecs.Sep

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetBlockReader() protected abstract method

protected abstract GetBlockReader ( IndexInput @in, int buffer ) : IBlockReader
@in Lucene.Net.Store.IndexInput
buffer int
return IBlockReader

Index() public method

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

Reader() public method

public Reader ( ) : Lucene.Net.Codecs.Sep.IntIndexInputReader
return Lucene.Net.Codecs.Sep.IntIndexInputReader

VariableIntBlockIndexInput() protected method

protected VariableIntBlockIndexInput ( IndexInput input ) : Lucene.Net.Codecs.Sep
input Lucene.Net.Store.IndexInput
return Lucene.Net.Codecs.Sep

Property Details

maxBlockSize protected_oe property

protected int maxBlockSize
return int