|
Sparksee
6.0.2
|
ResultSet class. More...


Instance Methods | |
| (int) | - getNumColumns |
| Gets the number of columns. More... | |
| (NSString *) | - getColumnName: |
| Gets the name for the given column. More... | |
| (int) | - getColumnIndex: |
| Gets the column index for the given column name. More... | |
| (enum STSDataType) | - getColumnDataType: |
| Gets the datatype for the given column. More... | |
| (BOOL) | - next |
| Fetches the next row. More... | |
| (void) | - getColumnWithValue:value: |
| Gets the value for the given column. More... | |
| (STSValue *) | - getColumn: |
| Gets the value for the given column. More... | |
| (void) | - rewind |
| Positions the cursor before the first row. | |
| (NSString *) | - getJSON: |
| Returns rows in JSON format. More... | |
| (void) | - close |
| Closes the ResultSet instance. | |
| (BOOL) | - isClosed |
| Check if the ResultSet instance is closed. | |
ResultSet class.
| - (STSValue*) getColumn: | (int) | index |
Gets the value for the given column.
QueryExceptionIf a database access error occurs.
| index | [in] Column index. |
| - (enum STSDataType) getColumnDataType: | (int) | index |
Gets the datatype for the given column.
| index | [in] Column index. |
| - (int) getColumnIndex: | (NSString *) | name |
Gets the column index for the given column name.
| name | [in] Column name. |
| - (NSString*) getColumnName: | (int) | index |
Gets the name for the given column.
| index | [in] Column index. |
| - (void) getColumnWithValue: | (int) | index | |
| value: | (STSValue *) | value | |
Gets the value for the given column.
QueryExceptionIf a database access error occurs.
| index | [in] Column index. |
| value | [in|out] Value. |
| - (NSString*) getJSON: | (int) | rows |
Returns rows in JSON format.
Rows are returned from the current position.
| rows | [in] Maximum number of rows |
| - (int) getNumColumns |
Gets the number of columns.
Columns are in the range [0...COLUMNS).
| - (BOOL) 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.