C# Class Deveel.Data.Protocol.LocalQueryResult

Inheritance: IDisposable
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
Dispose ( ) : void
Download ( int rowIndex, int rowCount ) : void
DownloadAndClose ( ) : void
FindColumnIndex ( string name ) : int

Searches for the index of the column with the given name.

First ( ) : bool
GetColumn ( int offset ) : QueryResultColumn
GetRawColumn ( int column ) : ISqlObject
GetRuntimeValue ( int ordinal ) : object
LocalQueryResult ( DeveelDbConnection connection ) : System
Next ( ) : bool
SetFetchSize ( int rows ) : void
SetMaxRowCount ( int rowCount ) : void
Setup ( int id, QueryResultColumn columnList, int totalRowCount ) : void

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
EnsureIndexLoaded ( ) : void

Ensures that the row index pointed to by 'real_index' is actually loaded into the 'result_block'.

If not, we send a request to the database to get it.

RealIndexUpdate ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Download() public méthode

public Download ( int rowIndex, int rowCount ) : void
rowIndex int
rowCount int
Résultat void

DownloadAndClose() public méthode

public DownloadAndClose ( ) : void
Résultat void

FindColumnIndex() public méthode

Searches for the index of the column with the given name.
/// If no column with the given name was found within the result. ///
public FindColumnIndex ( string name ) : int
name string
Résultat int

First() public méthode

public First ( ) : bool
Résultat bool

GetColumn() public méthode

public GetColumn ( int offset ) : QueryResultColumn
offset int
Résultat QueryResultColumn

GetRawColumn() public méthode

public GetRawColumn ( int column ) : ISqlObject
column int
Résultat ISqlObject

GetRuntimeValue() public méthode

public GetRuntimeValue ( int ordinal ) : object
ordinal int
Résultat object

LocalQueryResult() public méthode

public LocalQueryResult ( DeveelDbConnection connection ) : System
connection Deveel.Data.Client.DeveelDbConnection
Résultat System

Next() public méthode

public Next ( ) : bool
Résultat bool

SetFetchSize() public méthode

public SetFetchSize ( int rows ) : void
rows int
Résultat void

SetMaxRowCount() public méthode

public SetMaxRowCount ( int rowCount ) : void
rowCount int
Résultat void

Setup() public méthode

public Setup ( int id, QueryResultColumn columnList, int totalRowCount ) : void
id int
columnList QueryResultColumn
totalRowCount int
Résultat void