SparkseeNet
6.0.2
|
Public Member Functions | |
void | Rewind () |
Positions the cursor before the first row. | |
void | GetColumn (int index, com.sparsity.sparksee.gdb.Value value) |
Gets the value for the given column. | |
com.sparsity.sparksee.gdb.Value | GetColumn (int index) |
Gets the value for the given column. | |
int | GetColumnIndex (System.String name) |
Gets the column index for the given column name. | |
bool | Next () |
Fetches the next row. | |
System.String | GetJSON (int rows) |
Returns rows in JSON format. | |
System.String | GetColumnName (int index) |
Gets the name for the given column. | |
com.sparsity.sparksee.gdb.DataType | GetColumnDataType (int index) |
Gets the datatype for the given column. | |
int | GetNumColumns () |
Gets the number of columns. | |
ResultSet class.
void com.sparsity.sparksee.gdb.ResultSet.GetColumn | ( | int | index, |
com.sparsity.sparksee.gdb.Value | value | ||
) |
Gets the value for the given column.
QueryExceptionIf a database access error occurs.
index | [in] Column index. |
value | [in|out] Value. |
com.sparsity.sparksee.gdb.Value com.sparsity.sparksee.gdb.ResultSet.GetColumn | ( | int | index | ) |
Gets the value for the given column.
QueryExceptionIf a database access error occurs.
index | [in] Column index. |
com.sparsity.sparksee.gdb.DataType com.sparsity.sparksee.gdb.ResultSet.GetColumnDataType | ( | int | index | ) |
Gets the datatype for the given column.
index | [in] Column index. |
int com.sparsity.sparksee.gdb.ResultSet.GetColumnIndex | ( | System.String | name | ) |
Gets the column index for the given column name.
name | [in] Column name. |
System.String com.sparsity.sparksee.gdb.ResultSet.GetColumnName | ( | int | index | ) |
Gets the name for the given column.
index | [in] Column index. |
System.String com.sparsity.sparksee.gdb.ResultSet.GetJSON | ( | int | rows | ) |
Returns rows in JSON format.
Rows are returned from the current position.
rows | [in] Maximum number of rows |
int com.sparsity.sparksee.gdb.ResultSet.GetNumColumns | ( | ) |
Gets the number of columns.
Columns are in the range [0...COLUMNS).
bool com.sparsity.sparksee.gdb.ResultSet.Next | ( | ) |
Fetches the next row.
A ResultSet cursor is initially positioned before the first row; the first call to the method "Next" makes the first row the current row; the second call makes the second row the current row, and so on.
QueryExceptionIf a database access error occurs.