Return the string representation of the query id. Return empty string if handle is already canceled or closed.
(self, operation_handle)
| 745 | return cursor.cancel_operation(reset_state=False) |
| 746 | |
| 747 | def get_query_id(self, operation_handle): |
| 748 | """Return the string representation of the query id. |
| 749 | Return empty string if handle is already canceled or closed.""" |
| 750 | id = None |
| 751 | last_op = operation_handle.get_handle()._last_operation |
| 752 | if last_op is not None: |
| 753 | id = op_handle_to_query_id(last_op.handle) |
| 754 | return "" if id is None else id |
| 755 | |
| 756 | def __get_session_id(self, cursor): |
| 757 | """Return the string representation of the session id. |
no test coverage detected