OmniSciDB
a5dc49c757
|
Functions | |
def | _format_result_timestamp |
def | _format_result_date |
def | _format_result_time |
def | _extract_col_vals |
def | _extract_description |
def | _extract_column_details |
def | _bind_parameters |
Variables | |
tuple | Description |
tuple | ColumnDetails |
dictionary | _typeattr |
_thrift_types_to_values = T.TDatumType._NAMES_TO_VALUES | |
_thrift_values_to_types = T.TDatumType._VALUES_TO_NAMES | |
_thrift_encodings_to_values = T.TEncodingType._NAMES_TO_VALUES | |
_thrift_values_to_encodings = T.TEncodingType._VALUES_TO_NAMES | |
Utility methods for parsing data returned from HeavyDB
|
private |
Definition at line 162 of file _parsers.py.
Referenced by tests.test_cursor.TestCursor.test_escape_basic(), and tests.test_cursor.TestCursor.test_escape_malicious().
|
private |
Definition at line 89 of file _parsers.py.
References heavydb._parsers._format_result_date(), heavydb._parsers._format_result_time(), and heavydb._parsers._format_result_timestamp().
|
private |
Definition at line 145 of file _parsers.py.
References heavydb._parsers.ColumnDetails.
Referenced by tests.test_connection.TestExtras.test_extract_row_details().
|
private |
Return a tuple of (name, type_code, display_size, internal_size, precision, scale, null_ok) https://www.python.org/dev/peps/pep-0249/#description
Definition at line 124 of file _parsers.py.
References heavydb._parsers.Description.
|
private |
|
private |
Definition at line 84 of file _parsers.py.
References heavydb._utils.seconds_to_time().
Referenced by heavydb._parsers._extract_col_vals().
|
private |
Definition at line 65 of file _parsers.py.
References heavydb._utils.datetime_in_precisions().
Referenced by heavydb._parsers._extract_col_vals().
heavydb._parsers._thrift_encodings_to_values = T.TEncodingType._NAMES_TO_VALUES |
Definition at line 61 of file _parsers.py.
heavydb._parsers._thrift_types_to_values = T.TDatumType._NAMES_TO_VALUES |
Definition at line 59 of file _parsers.py.
heavydb._parsers._thrift_values_to_encodings = T.TEncodingType._VALUES_TO_NAMES |
Definition at line 62 of file _parsers.py.
heavydb._parsers._thrift_values_to_types = T.TDatumType._VALUES_TO_NAMES |
Definition at line 60 of file _parsers.py.
dictionary heavydb._parsers._typeattr |
Definition at line 37 of file _parsers.py.
tuple heavydb._parsers.ColumnDetails |
Definition at line 23 of file _parsers.py.
Referenced by heavydb._parsers._extract_column_details(), and tests.test_connection.TestExtras.test_extract_row_details().
tuple heavydb._parsers.Description |
Definition at line 11 of file _parsers.py.
Referenced by heavydb._parsers._extract_description(), and tests.test_integration.TestIntegration.test_select_sets_description().