C# Class Deveel.Data.Client.LocalRowCache

A cache that stores rows retrieved from the server in result set's.
This provides various mechanisms for determining the best rows to pick out that haven't been cached, etc.
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Flushes the complete contents of the cache.

GetResultPart ( int resultId, int rowIndex, int rowCount, int colCount, int totalRowCount ) : QueryResultPart

Requests a block of parts.

If the block can be completely retrieved from the cache then it is done so. Otherwise, it forwards the request for the rows onto the connection object.

LocalRowCache ( DeveelDbConnection connection ) : System

Method Details

Clear() public method

Flushes the complete contents of the cache.
public Clear ( ) : void
return void

GetResultPart() public method

Requests a block of parts.
If the block can be completely retrieved from the cache then it is done so. Otherwise, it forwards the request for the rows onto the connection object.
public GetResultPart ( int resultId, int rowIndex, int rowCount, int colCount, int totalRowCount ) : QueryResultPart
resultId int
rowIndex int
rowCount int
colCount int
totalRowCount int
return Deveel.Data.Protocol.QueryResultPart

LocalRowCache() public method

public LocalRowCache ( DeveelDbConnection connection ) : System
connection DeveelDbConnection
return System