C# Class Deveel.Data.Store.FileStoreData

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

Public Methods

Method 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

Method Description
Dispose ( bool disposing ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Delete() public method

public Delete ( ) : bool
return bool

Dispose() public method

public Dispose ( ) : void
return void

FileStoreData() public method

public FileStoreData ( IFileSystem fileSystem, string filePath ) : System
fileSystem IFileSystem
filePath string
return System

Flush() public method

public Flush ( ) : void
return void

Open() public method

public Open ( bool readOnly ) : void
readOnly bool
return void

Read() public method

public Read ( long position, byte buffer, int offset, int length ) : int
position long
buffer byte
offset int
length int
return int

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( long position, byte buffer, int offset, int length ) : void
position long
buffer byte
offset int
length int
return void