C# Class Deveel.Data.Store.ScatteringFileStoreData

Inheritance: IStoreData
Afficher le fichier Open project: deveel/deveeldb

Méthodes publiques

Méthode Description
Close ( ) : void
Delete ( ) : bool
Dispose ( ) : void
Flush ( ) : void
Open ( bool readOnly ) : void
Read ( long position, byte buffer, int offset, int length ) : int
ScatteringFileStoreData ( IFileSystem fileSystem, string basePath, string fileName, string fileExtention, int maxFileSlice ) : System
SetLength ( long value ) : void
Write ( long position, byte buffer, int offset, int length ) : void

Private Methods

Méthode Description
DiscoverSize ( ) : long
Dispose ( bool disposing ) : void
SliceFileName ( int i ) : string

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Delete() public méthode

public Delete ( ) : bool
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Open() public méthode

public Open ( bool readOnly ) : void
readOnly bool
Résultat void

Read() public méthode

public Read ( long position, byte buffer, int offset, int length ) : int
position long
buffer byte
offset int
length int
Résultat int

ScatteringFileStoreData() public méthode

public ScatteringFileStoreData ( IFileSystem fileSystem, string basePath, string fileName, string fileExtention, int maxFileSlice ) : System
fileSystem IFileSystem
basePath string
fileName string
fileExtention string
maxFileSlice int
Résultat System

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( long position, byte buffer, int offset, int length ) : void
position long
buffer byte
offset int
length int
Résultat void