C# Class Deveel.Data.Protocol.LocalQueryResult

Inheritance: IDisposable
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method 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

Method 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 method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Download() public method

public Download ( int rowIndex, int rowCount ) : void
rowIndex int
rowCount int
return void

DownloadAndClose() public method

public DownloadAndClose ( ) : void
return void

FindColumnIndex() public method

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
return int

First() public method

public First ( ) : bool
return bool

GetColumn() public method

public GetColumn ( int offset ) : QueryResultColumn
offset int
return QueryResultColumn

GetRawColumn() public method

public GetRawColumn ( int column ) : ISqlObject
column int
return ISqlObject

GetRuntimeValue() public method

public GetRuntimeValue ( int ordinal ) : object
ordinal int
return object

LocalQueryResult() public method

public LocalQueryResult ( DeveelDbConnection connection ) : System
connection Deveel.Data.Client.DeveelDbConnection
return System

Next() public method

public Next ( ) : bool
return bool

SetFetchSize() public method

public SetFetchSize ( int rows ) : void
rows int
return void

SetMaxRowCount() public method

public SetMaxRowCount ( int rowCount ) : void
rowCount int
return void

Setup() public method

public Setup ( int id, QueryResultColumn columnList, int totalRowCount ) : void
id int
columnList QueryResultColumn
totalRowCount int
return void