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