C# 클래스 Lucene.Net.Util.Fst.BytesStore

상속: DataOutput
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetReverseReader FST.BytesReader
WriteBytes void

공개 메소드들

메소드 설명
BytesStore ( DataInput @in, long numBytes, int maxBlockSize ) : System

Pulls bytes from the provided IndexInput.

BytesStore ( int blockBits ) : System
CopyBytes ( long src, long dest, int len ) : void

Absolute copy bytes self to self, without changing the position. Note: this cannot "grow" the bytes, so must only call it on already written parts.

Finish ( ) : void
Reverse ( long srcPos, long destPos ) : void

Reverse from srcPos, inclusive, to destPos, inclusive.

SkipBytes ( int len ) : void
Truncate ( long newLen ) : void

Pos must be less than the max position written so far! Ie, you cannot "grow" the file with this!

WriteByte ( byte b ) : void
WriteByte ( int dest, byte b ) : void

Absolute write byte; you must ensure dest is < max position written so far.

WriteBytes ( byte b, int offset, int len ) : void
WriteInt ( long pos, int value ) : void

Writes an int at the absolute position without changing the current pointer.

WriteTo ( DataOutput @out ) : void

Writes all of our bytes to the target DataOutput.

비공개 메소드들

메소드 설명
GetReverseReader ( bool allowSingle ) : FST.BytesReader
WriteBytes ( long dest, byte b, int offset, int len ) : void

Absolute writeBytes without changing the current position. Note: this cannot "grow" the bytes, so you must only call it on already written parts.

메소드 상세

BytesStore() 공개 메소드

Pulls bytes from the provided IndexInput.
public BytesStore ( DataInput @in, long numBytes, int maxBlockSize ) : System
@in DataInput
numBytes long
maxBlockSize int
리턴 System

BytesStore() 공개 메소드

public BytesStore ( int blockBits ) : System
blockBits int
리턴 System

CopyBytes() 공개 메소드

Absolute copy bytes self to self, without changing the position. Note: this cannot "grow" the bytes, so must only call it on already written parts.
public CopyBytes ( long src, long dest, int len ) : void
src long
dest long
len int
리턴 void

Finish() 공개 메소드

public Finish ( ) : void
리턴 void

Reverse() 공개 메소드

Reverse from srcPos, inclusive, to destPos, inclusive.
public Reverse ( long srcPos, long destPos ) : void
srcPos long
destPos long
리턴 void

SkipBytes() 공개 메소드

public SkipBytes ( int len ) : void
len int
리턴 void

Truncate() 공개 메소드

Pos must be less than the max position written so far! Ie, you cannot "grow" the file with this!
public Truncate ( long newLen ) : void
newLen long
리턴 void

WriteByte() 공개 메소드

public WriteByte ( byte b ) : void
b byte
리턴 void

WriteByte() 공개 메소드

Absolute write byte; you must ensure dest is < max position written so far.
public WriteByte ( int dest, byte b ) : void
dest int
b byte
리턴 void

WriteBytes() 공개 메소드

public WriteBytes ( byte b, int offset, int len ) : void
b byte
offset int
len int
리턴 void

WriteInt() 공개 메소드

Writes an int at the absolute position without changing the current pointer.
public WriteInt ( long pos, int value ) : void
pos long
value int
리턴 void

WriteTo() 공개 메소드

Writes all of our bytes to the target DataOutput.
public WriteTo ( DataOutput @out ) : void
@out DataOutput
리턴 void