DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
A cache that stores rows retrieved from the server in result set's. More...
Classes | |
class | CachedRow |
A cached row. More... | |
class | RowRef |
Used for the hash key in the cache. More... | |
Public Member Functions | |
LocalRowCache (DeveelDbConnection connection) | |
QueryResultPart | GetResultPart (int resultId, int rowIndex, int rowCount, int colCount, int totalRowCount) |
Requests a block of parts. More... | |
void | Clear () |
Flushes the complete contents of the cache. More... | |
Private Attributes | |
readonly DeveelDbConnection | connection |
readonly Cache | rowCache |
The actual cache that stores the rows. More... | |
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.
Definition at line 32 of file LocalRowCache.cs.
|
inline |
Definition at line 40 of file LocalRowCache.cs.
|
inline |
Flushes the complete contents of the cache.
Definition at line 201 of file LocalRowCache.cs.
|
inline |
Requests a block of parts.
resultId | |
rowIndex | |
rowCount | |
colCount | |
totalRowCount |
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.
Definition at line 59 of file LocalRowCache.cs.
|
private |
Definition at line 33 of file LocalRowCache.cs.
|
private |
The actual cache that stores the rows.
Definition at line 38 of file LocalRowCache.cs.