C# Class Deveel.Data.Store.ScatteringFileStoreData

Inheritance: IStoreData
Mostrar archivo Open project: deveel/deveeldb

Public Methods

Method 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

Method Description
DiscoverSize ( ) : long
Dispose ( bool disposing ) : void
SliceFileName ( int i ) : string

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

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

ScatteringFileStoreData() public method

public ScatteringFileStoreData ( IFileSystem fileSystem, string basePath, string fileName, string fileExtention, int maxFileSlice ) : System
fileSystem IFileSystem
basePath string
fileName string
fileExtention string
maxFileSlice int
return System

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