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.
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Flushes the complete contents of the cache.
public Clear ( ) : void
Résultat void

GetResultPart() public méthode

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
Résultat Deveel.Data.Protocol.QueryResultPart

LocalRowCache() public méthode

public LocalRowCache ( DeveelDbConnection connection ) : System
connection DeveelDbConnection
Résultat System