|
SparkseePython3 6.1.0
|
Public Member Functions | |
| rewind (self) | |
| Positions the cursor before the first row. | |
| get_column_data_type (self, index) | |
| Gets the datatype for the given column. | |
| get_column (self, index) | |
| Gets the value for the given column. | |
| get_num_columns (self) | |
| Gets the number of columns. | |
| get_column_name (self, index) | |
| Gets the name for the given column. | |
| next (self) | |
| Fetches the next row. | |
| get_j_s_o_n (self, rows) | |
| Returns rows in JSON format. | |
| get_column (self, index, value) | |
| Gets the value for the given column. | |
| get_column_index (self, name) | |
| Gets the column index for the given column name. | |
| is_closed (self) | |
| Gets if the ResultSet instance has been closed or not. | |
ResultSet class.
| sparksee.ResultSet.get_column | ( | self, | |
| index ) |
Gets the value for the given column.
QueryExceptionIf a database access error occurs.
| index | [in] Column index. |
| sparksee.ResultSet.get_column | ( | self, | |
| index, | |||
| value ) |
Gets the value for the given column.
QueryExceptionIf a database access error occurs.
| index | [in] Column index. |
| value | [in|out] Value. |
| sparksee.ResultSet.get_column_data_type | ( | self, | |
| index ) |
Gets the datatype for the given column.
| index | [in] Column index. |
| sparksee.ResultSet.get_column_index | ( | self, | |
| name ) |
Gets the column index for the given column name.
| name | [in] Column name. |
| sparksee.ResultSet.get_column_name | ( | self, | |
| index ) |
Gets the name for the given column.
| index | [in] Column index. |
| sparksee.ResultSet.get_j_s_o_n | ( | self, | |
| rows ) |
Returns rows in JSON format.
Rows are returned from the current position.
| rows | [in] Maximum number of rows |
| sparksee.ResultSet.get_num_columns | ( | self | ) |
Gets the number of columns.
Columns are in the range [0...COLUMNS).
| sparksee.ResultSet.is_closed | ( | self | ) |
| sparksee.ResultSet.next | ( | self | ) |
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.