OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TQueryResult Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TQueryResult:
+ Collaboration diagram for heavydb.thrift.ttypes.TQueryResult:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 row_set
 
 execution_time_ms
 
 total_time_ms
 
 nonce
 
 debug
 
 success
 
 query_type
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - row_set
 - execution_time_ms
 - total_time_ms
 - nonce
 - debug
 - success
 - query_type

Definition at line 1387 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TQueryResult.__init__ (   self,
  row_set = None,
  execution_time_ms = None,
  total_time_ms = None,
  nonce = None,
  debug = None,
  success = True,
  query_type = 0 
)

Definition at line 1401 of file ttypes.py.

1402  def __init__(self, row_set=None, execution_time_ms=None, total_time_ms=None, nonce=None, debug=None, success=True, query_type=0,):
1403  self.row_set = row_set
1404  self.execution_time_ms = execution_time_ms
1405  self.total_time_ms = total_time_ms
1406  self.nonce = nonce
1407  self.debug = debug
1408  self.success = success
1409  self.query_type = query_type

Member Function Documentation

def heavydb.thrift.ttypes.TQueryResult.__eq__ (   self,
  other 
)

Definition at line 1504 of file ttypes.py.

1505  def __eq__(self, other):
1506  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TQueryResult.__ne__ (   self,
  other 
)

Definition at line 1507 of file ttypes.py.

1508  def __ne__(self, other):
1509  return not (self == other)
1510 
def heavydb.thrift.ttypes.TQueryResult.__repr__ (   self)

Definition at line 1499 of file ttypes.py.

1500  def __repr__(self):
1501  L = ['%s=%r' % (key, value)
1502  for key, value in self.__dict__.items()]
1503  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def heavydb.thrift.ttypes.TQueryResult.read (   self,
  iprot 
)

Definition at line 1410 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryResult.debug, heavydb.thrift.ttypes.TQueryResult.execution_time_ms, heavydb.thrift.ttypes.TQueryResult.nonce, heavydb.thrift.Heavy.sql_execute_args.nonce, heavydb.thrift.Heavy.render_vega_args.nonce, heavydb.thrift.Heavy.get_result_row_for_pixel_args.nonce, heavydb.thrift.Heavy.set_license_key_args.nonce, heavydb.thrift.Heavy.get_license_claims_args.nonce, heavydb.thrift.ttypes.TQueryResult.query_type, heavydb.thrift.ttypes.TQueryResult.row_set, heavydb.thrift.ttypes.TQueryResult.success, heavydb.thrift.Heavy.connect_result.success, heavydb.thrift.Heavy.krb5_connect_result.success, heavydb.thrift.Heavy.clone_session_result.success, heavydb.thrift.Heavy.get_server_status_result.success, heavydb.thrift.Heavy.get_status_result.success, heavydb.thrift.Heavy.get_hardware_info_result.success, heavydb.thrift.Heavy.get_tables_result.success, heavydb.thrift.Heavy.get_tables_for_database_result.success, heavydb.thrift.Heavy.get_physical_tables_result.success, heavydb.thrift.Heavy.get_views_result.success, heavydb.thrift.Heavy.get_tables_meta_result.success, heavydb.thrift.Heavy.get_table_details_result.success, heavydb.thrift.Heavy.get_table_details_for_database_result.success, heavydb.thrift.Heavy.get_internal_table_details_result.success, heavydb.thrift.Heavy.get_internal_table_details_for_database_result.success, heavydb.thrift.Heavy.get_users_result.success, heavydb.thrift.Heavy.get_databases_result.success, heavydb.thrift.Heavy.get_version_result.success, heavydb.thrift.Heavy.get_heap_profile_result.success, heavydb.thrift.Heavy.get_memory_result.success, heavydb.thrift.Heavy.get_table_epoch_result.success, heavydb.thrift.Heavy.get_table_epoch_by_name_result.success, heavydb.thrift.Heavy.get_table_epochs_result.success, heavydb.thrift.Heavy.get_session_info_result.success, heavydb.thrift.Heavy.get_queries_info_result.success, heavydb.thrift.Heavy.sql_execute_result.success, heavydb.thrift.Heavy.sql_execute_df_result.success, heavydb.thrift.Heavy.sql_execute_gdf_result.success, heavydb.thrift.Heavy.sql_validate_result.success, heavydb.thrift.Heavy.get_completion_hints_result.success, heavydb.thrift.Heavy.render_vega_result.success, heavydb.thrift.Heavy.get_result_row_for_pixel_result.success, heavydb.thrift.Heavy.create_custom_expression_result.success, heavydb.thrift.Heavy.get_custom_expressions_result.success, heavydb.thrift.Heavy.get_dashboard_result.success, heavydb.thrift.Heavy.get_dashboards_result.success, heavydb.thrift.Heavy.create_dashboard_result.success, heavydb.thrift.Heavy.get_dashboard_grantees_result.success, heavydb.thrift.Heavy.get_link_view_result.success, heavydb.thrift.Heavy.create_link_result.success, heavydb.thrift.Heavy.detect_column_types_result.success, heavydb.thrift.Heavy.import_table_status_result.success, heavydb.thrift.Heavy.get_first_geo_file_in_archive_result.success, heavydb.thrift.Heavy.get_all_files_in_archive_result.success, heavydb.thrift.Heavy.get_layers_in_geo_file_result.success, heavydb.thrift.Heavy.query_get_outer_fragment_count_result.success, heavydb.thrift.Heavy.check_table_consistency_result.success, heavydb.thrift.Heavy.start_query_result.success, heavydb.thrift.Heavy.execute_query_step_result.success, heavydb.thrift.Heavy.start_render_query_result.success, heavydb.thrift.Heavy.execute_next_render_step_result.success, heavydb.thrift.Heavy.get_roles_result.success, heavydb.thrift.Heavy.get_db_objects_for_grantee_result.success, heavydb.thrift.Heavy.get_db_object_privs_result.success, heavydb.thrift.Heavy.get_all_roles_for_user_result.success, heavydb.thrift.Heavy.get_all_effective_roles_for_user_result.success, heavydb.thrift.Heavy.has_role_result.success, heavydb.thrift.Heavy.has_object_privilege_result.success, heavydb.thrift.Heavy.set_license_key_result.success, heavydb.thrift.Heavy.get_license_claims_result.success, heavydb.thrift.Heavy.get_device_parameters_result.success, heavydb.thrift.Heavy.get_table_function_names_result.success, heavydb.thrift.Heavy.get_runtime_table_function_names_result.success, heavydb.thrift.Heavy.get_table_function_details_result.success, heavydb.thrift.Heavy.get_function_names_result.success, heavydb.thrift.Heavy.get_runtime_function_names_result.success, heavydb.thrift.Heavy.get_function_details_result.success, and heavydb.thrift.ttypes.TQueryResult.total_time_ms.

1411  def read(self, iprot):
1412  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
1413  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
1414  return
1415  iprot.readStructBegin()
1416  while True:
1417  (fname, ftype, fid) = iprot.readFieldBegin()
1418  if ftype == TType.STOP:
1419  break
1420  if fid == 1:
1421  if ftype == TType.STRUCT:
1422  self.row_set = TRowSet()
1423  self.row_set.read(iprot)
1424  else:
1425  iprot.skip(ftype)
1426  elif fid == 2:
1427  if ftype == TType.I64:
1428  self.execution_time_ms = iprot.readI64()
1429  else:
1430  iprot.skip(ftype)
1431  elif fid == 3:
1432  if ftype == TType.I64:
1433  self.total_time_ms = iprot.readI64()
1434  else:
1435  iprot.skip(ftype)
1436  elif fid == 4:
1437  if ftype == TType.STRING:
1438  self.nonce = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
1439  else:
1440  iprot.skip(ftype)
1441  elif fid == 5:
1442  if ftype == TType.STRING:
1443  self.debug = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
1444  else:
1445  iprot.skip(ftype)
1446  elif fid == 6:
1447  if ftype == TType.BOOL:
1448  self.success = iprot.readBool()
1449  else:
1450  iprot.skip(ftype)
1451  elif fid == 7:
1452  if ftype == TType.I32:
1453  self.query_type = iprot.readI32()
1454  else:
1455  iprot.skip(ftype)
1456  else:
1457  iprot.skip(ftype)
1458  iprot.readFieldEnd()
1459  iprot.readStructEnd()
def heavydb.thrift.ttypes.TQueryResult.validate (   self)

Definition at line 1496 of file ttypes.py.

1497  def validate(self):
1498  return
def heavydb.thrift.ttypes.TQueryResult.write (   self,
  oprot 
)

Definition at line 1460 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryResult.debug, heavydb.thrift.ttypes.TQueryResult.execution_time_ms, heavydb.thrift.ttypes.TQueryResult.nonce, heavydb.thrift.Heavy.sql_execute_args.nonce, heavydb.thrift.Heavy.render_vega_args.nonce, heavydb.thrift.Heavy.get_result_row_for_pixel_args.nonce, heavydb.thrift.Heavy.set_license_key_args.nonce, heavydb.thrift.Heavy.get_license_claims_args.nonce, heavydb.thrift.ttypes.TQueryResult.query_type, heavydb.thrift.ttypes.TQueryResult.row_set, heavydb.thrift.ttypes.TQueryResult.success, heavydb.thrift.Heavy.connect_result.success, heavydb.thrift.Heavy.krb5_connect_result.success, heavydb.thrift.Heavy.clone_session_result.success, heavydb.thrift.Heavy.get_server_status_result.success, heavydb.thrift.Heavy.get_status_result.success, heavydb.thrift.Heavy.get_hardware_info_result.success, heavydb.thrift.Heavy.get_tables_result.success, heavydb.thrift.Heavy.get_tables_for_database_result.success, heavydb.thrift.Heavy.get_physical_tables_result.success, heavydb.thrift.Heavy.get_views_result.success, heavydb.thrift.Heavy.get_tables_meta_result.success, heavydb.thrift.Heavy.get_table_details_result.success, heavydb.thrift.Heavy.get_table_details_for_database_result.success, heavydb.thrift.Heavy.get_internal_table_details_result.success, heavydb.thrift.Heavy.get_internal_table_details_for_database_result.success, heavydb.thrift.Heavy.get_users_result.success, heavydb.thrift.Heavy.get_databases_result.success, heavydb.thrift.Heavy.get_version_result.success, heavydb.thrift.Heavy.get_heap_profile_result.success, heavydb.thrift.Heavy.get_memory_result.success, heavydb.thrift.Heavy.get_table_epoch_result.success, heavydb.thrift.Heavy.get_table_epoch_by_name_result.success, heavydb.thrift.Heavy.get_table_epochs_result.success, heavydb.thrift.Heavy.get_session_info_result.success, heavydb.thrift.Heavy.get_queries_info_result.success, heavydb.thrift.Heavy.sql_execute_result.success, heavydb.thrift.Heavy.sql_execute_df_result.success, heavydb.thrift.Heavy.sql_execute_gdf_result.success, heavydb.thrift.Heavy.sql_validate_result.success, heavydb.thrift.Heavy.get_completion_hints_result.success, heavydb.thrift.Heavy.render_vega_result.success, heavydb.thrift.Heavy.get_result_row_for_pixel_result.success, heavydb.thrift.Heavy.create_custom_expression_result.success, heavydb.thrift.Heavy.get_custom_expressions_result.success, heavydb.thrift.Heavy.get_dashboard_result.success, heavydb.thrift.Heavy.get_dashboards_result.success, heavydb.thrift.Heavy.create_dashboard_result.success, heavydb.thrift.Heavy.get_dashboard_grantees_result.success, heavydb.thrift.Heavy.get_link_view_result.success, heavydb.thrift.Heavy.create_link_result.success, heavydb.thrift.Heavy.detect_column_types_result.success, heavydb.thrift.Heavy.import_table_status_result.success, heavydb.thrift.Heavy.get_first_geo_file_in_archive_result.success, heavydb.thrift.Heavy.get_all_files_in_archive_result.success, heavydb.thrift.Heavy.get_layers_in_geo_file_result.success, heavydb.thrift.Heavy.query_get_outer_fragment_count_result.success, heavydb.thrift.Heavy.check_table_consistency_result.success, heavydb.thrift.Heavy.start_query_result.success, heavydb.thrift.Heavy.execute_query_step_result.success, heavydb.thrift.Heavy.start_render_query_result.success, heavydb.thrift.Heavy.execute_next_render_step_result.success, heavydb.thrift.Heavy.get_roles_result.success, heavydb.thrift.Heavy.get_db_objects_for_grantee_result.success, heavydb.thrift.Heavy.get_db_object_privs_result.success, heavydb.thrift.Heavy.get_all_roles_for_user_result.success, heavydb.thrift.Heavy.get_all_effective_roles_for_user_result.success, heavydb.thrift.Heavy.has_role_result.success, heavydb.thrift.Heavy.has_object_privilege_result.success, heavydb.thrift.Heavy.set_license_key_result.success, heavydb.thrift.Heavy.get_license_claims_result.success, heavydb.thrift.Heavy.get_device_parameters_result.success, heavydb.thrift.Heavy.get_table_function_names_result.success, heavydb.thrift.Heavy.get_runtime_table_function_names_result.success, heavydb.thrift.Heavy.get_table_function_details_result.success, heavydb.thrift.Heavy.get_function_names_result.success, heavydb.thrift.Heavy.get_runtime_function_names_result.success, heavydb.thrift.Heavy.get_function_details_result.success, and heavydb.thrift.ttypes.TQueryResult.total_time_ms.

1461  def write(self, oprot):
1462  if oprot._fast_encode is not None and self.thrift_spec is not None:
1463  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
1464  return
1465  oprot.writeStructBegin('TQueryResult')
1466  if self.row_set is not None:
1467  oprot.writeFieldBegin('row_set', TType.STRUCT, 1)
1468  self.row_set.write(oprot)
1469  oprot.writeFieldEnd()
1470  if self.execution_time_ms is not None:
1471  oprot.writeFieldBegin('execution_time_ms', TType.I64, 2)
1472  oprot.writeI64(self.execution_time_ms)
1473  oprot.writeFieldEnd()
1474  if self.total_time_ms is not None:
1475  oprot.writeFieldBegin('total_time_ms', TType.I64, 3)
1476  oprot.writeI64(self.total_time_ms)
1477  oprot.writeFieldEnd()
1478  if self.nonce is not None:
1479  oprot.writeFieldBegin('nonce', TType.STRING, 4)
1480  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
1481  oprot.writeFieldEnd()
1482  if self.debug is not None:
1483  oprot.writeFieldBegin('debug', TType.STRING, 5)
1484  oprot.writeString(self.debug.encode('utf-8') if sys.version_info[0] == 2 else self.debug)
1485  oprot.writeFieldEnd()
1486  if self.success is not None:
1487  oprot.writeFieldBegin('success', TType.BOOL, 6)
1488  oprot.writeBool(self.success)
1489  oprot.writeFieldEnd()
1490  if self.query_type is not None:
1491  oprot.writeFieldBegin('query_type', TType.I32, 7)
1492  oprot.writeI32(self.query_type)
1493  oprot.writeFieldEnd()
1494  oprot.writeFieldStop()
1495  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TQueryResult.__dict__
private

Definition at line 1505 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TQueryResult.debug

Definition at line 1406 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), and heavydb.thrift.ttypes.TQueryResult.write().

heavydb.thrift.ttypes.TQueryResult.execution_time_ms

Definition at line 1403 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), heavydb.thrift.ttypes.TDataFrame.read(), heavydb.thrift.ttypes.TRenderResult.read(), heavydb.thrift.ttypes.TRenderParseResult.read(), heavydb.thrift.ttypes.TRenderStepResult.read(), heavydb.thrift.ttypes.TQueryResult.write(), heavydb.thrift.ttypes.TDataFrame.write(), heavydb.thrift.ttypes.TRenderResult.write(), heavydb.thrift.ttypes.TRenderParseResult.write(), and heavydb.thrift.ttypes.TRenderStepResult.write().

heavydb.thrift.ttypes.TQueryResult.nonce

Definition at line 1405 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), heavydb.thrift.ttypes.TPixelTableRowResult.read(), heavydb.thrift.ttypes.TRenderResult.read(), heavydb.thrift.ttypes.TQueryResult.write(), heavydb.thrift.ttypes.TPixelTableRowResult.write(), and heavydb.thrift.ttypes.TRenderResult.write().

heavydb.thrift.ttypes.TQueryResult.query_type

Definition at line 1408 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), and heavydb.thrift.ttypes.TQueryResult.write().

heavydb.thrift.ttypes.TQueryResult.row_set

Definition at line 1402 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), heavydb.thrift.ttypes.TDetectResult.read(), heavydb.thrift.ttypes.TPixelTableRowResult.read(), heavydb.thrift.ttypes.TQueryResult.write(), heavydb.thrift.ttypes.TDetectResult.write(), and heavydb.thrift.ttypes.TPixelTableRowResult.write().

heavydb.thrift.ttypes.TQueryResult.success

Definition at line 1407 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), and heavydb.thrift.ttypes.TQueryResult.write().

heavydb.thrift.ttypes.TQueryResult.total_time_ms

Definition at line 1404 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), heavydb.thrift.ttypes.TRenderResult.read(), heavydb.thrift.ttypes.TRenderParseResult.read(), heavydb.thrift.ttypes.TRenderStepResult.read(), heavydb.thrift.ttypes.TQueryResult.write(), heavydb.thrift.ttypes.TRenderResult.write(), heavydb.thrift.ttypes.TRenderParseResult.write(), and heavydb.thrift.ttypes.TRenderStepResult.write().


The documentation for this class was generated from the following file: