C# Class Lucene.Net.Util.Fst.BytesStore

Inheritance: DataOutput
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Private Properties

Свойство Type Description
GetReverseReader FST.BytesReader
WriteBytes void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

BytesStore() public méthode

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

BytesStore() public méthode

public BytesStore ( int blockBits ) : System
blockBits int
Résultat System

CopyBytes() public méthode

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
Résultat void

Finish() public méthode

public Finish ( ) : void
Résultat void

Reverse() public méthode

Reverse from srcPos, inclusive, to destPos, inclusive.
public Reverse ( long srcPos, long destPos ) : void
srcPos long
destPos long
Résultat void

SkipBytes() public méthode

public SkipBytes ( int len ) : void
len int
Résultat void

Truncate() public méthode

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
Résultat void

WriteByte() public méthode

public WriteByte ( byte b ) : void
b byte
Résultat void

WriteByte() public méthode

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

WriteBytes() public méthode

public WriteBytes ( byte b, int offset, int len ) : void
b byte
offset int
len int
Résultat void

WriteInt() public méthode

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

WriteTo() public méthode

Writes all of our bytes to the target DataOutput.
public WriteTo ( DataOutput @out ) : void
@out DataOutput
Résultat void