C# Class Deveel.Data.Store.FileStoreData

A data store that is backed by a file located at the path given.
Inheritance: IStoreData
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

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

FileStoreData() public méthode

public FileStoreData ( IFileSystem fileSystem, string filePath ) : System
fileSystem IFileSystem
filePath string
Résultat System

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

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