C# 클래스 Lucene.Net.Codecs.IntBlock.VariableIntBlockIndexOutput

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 IntIndexOutput inside Directory. Wrapping a generic IndexInput will likely cost performance. @lucene.experimental
상속: Lucene.Net.Codecs.Sep.IntIndexOutput
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
output Lucene.Net.Store.IndexOutput

공개 메소드들

메소드 설명
Dispose ( ) : void
Index ( ) : Lucene.Net.Codecs.Sep.IntIndexOutputIndex
Write ( int v ) : void

보호된 메소드들

메소드 설명
Add ( int value ) : int

Called one value at a time. Return the number of buffered input values that have been written to out.

VariableIntBlockIndexOutput ( Lucene.Net.Store.IndexOutput output, int maxBlockSize ) : Lucene.Net.Codecs.Sep

NOTE: maxBlockSize must be the maximum block size plus the max non-causal lookahead of your codec. EG Simple9 requires lookahead=1 because on seeing the Nth value it knows it must now encode the N-1 values before it.

메소드 상세

Add() 보호된 추상적인 메소드

Called one value at a time. Return the number of buffered input values that have been written to out.
protected abstract Add ( int value ) : int
value int
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Index() 공개 메소드

public Index ( ) : Lucene.Net.Codecs.Sep.IntIndexOutputIndex
리턴 Lucene.Net.Codecs.Sep.IntIndexOutputIndex

VariableIntBlockIndexOutput() 보호된 메소드

NOTE: maxBlockSize must be the maximum block size plus the max non-causal lookahead of your codec. EG Simple9 requires lookahead=1 because on seeing the Nth value it knows it must now encode the N-1 values before it.
protected VariableIntBlockIndexOutput ( Lucene.Net.Store.IndexOutput output, int maxBlockSize ) : Lucene.Net.Codecs.Sep
output Lucene.Net.Store.IndexOutput
maxBlockSize int
리턴 Lucene.Net.Codecs.Sep

Write() 공개 메소드

public Write ( int v ) : void
v int
리턴 void

프로퍼티 상세

output 보호되어 있는 프로퍼티

protected IndexOutput,Lucene.Net.Store output
리턴 Lucene.Net.Store.IndexOutput