OmniSciDB  94e8789169
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TQueryResult Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TQueryResult:
+ Collaboration diagram for omnisci.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 1238 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.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 1252 of file ttypes.py.

1253  def __init__(self, row_set=None, execution_time_ms=None, total_time_ms=None, nonce=None, debug=None, success=True, query_type=0,):
1254  self.row_set = row_set
1255  self.execution_time_ms = execution_time_ms
1256  self.total_time_ms = total_time_ms
1257  self.nonce = nonce
1258  self.debug = debug
1259  self.success = success
1260  self.query_type = query_type

Member Function Documentation

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

Definition at line 1355 of file ttypes.py.

1356  def __eq__(self, other):
1357  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TQueryResult.__ne__ (   self,
  other 
)

Definition at line 1358 of file ttypes.py.

1359  def __ne__(self, other):
1360  return not (self == other)
1361 
def omnisci.thrift.ttypes.TQueryResult.__repr__ (   self)

Definition at line 1350 of file ttypes.py.

1351  def __repr__(self):
1352  L = ['%s=%r' % (key, value)
1353  for key, value in self.__dict__.items()]
1354  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 omnisci.thrift.ttypes.TQueryResult.read (   self,
  iprot 
)

Definition at line 1261 of file ttypes.py.

References omnisci.thrift.ttypes.TQueryResult.debug, omnisci.thrift.ttypes.TQueryResult.execution_time_ms, omnisci.thrift.ttypes.TQueryResult.nonce, omnisci.thrift.OmniSci.sql_execute_args.nonce, omnisci.thrift.OmniSci.render_vega_args.nonce, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.nonce, omnisci.thrift.OmniSci.set_license_key_args.nonce, omnisci.thrift.OmniSci.get_license_claims_args.nonce, omnisci.thrift.ttypes.TQueryResult.query_type, omnisci.thrift.ttypes.TQueryResult.row_set, omnisci.thrift.ttypes.TQueryResult.success, Parser::CopyTableStmt.success, omnisci.thrift.OmniSci.connect_result.success, omnisci.thrift.OmniSci.krb5_connect_result.success, omnisci.thrift.OmniSci.clone_session_result.success, omnisci.thrift.OmniSci.get_server_status_result.success, omnisci.thrift.OmniSci.get_status_result.success, omnisci.thrift.OmniSci.get_hardware_info_result.success, omnisci.thrift.OmniSci.get_tables_result.success, omnisci.thrift.OmniSci.get_physical_tables_result.success, omnisci.thrift.OmniSci.get_views_result.success, omnisci.thrift.OmniSci.get_tables_meta_result.success, omnisci.thrift.OmniSci.get_table_details_result.success, omnisci.thrift.OmniSci.get_internal_table_details_result.success, omnisci.thrift.OmniSci.get_users_result.success, omnisci.thrift.OmniSci.get_databases_result.success, omnisci.thrift.OmniSci.get_version_result.success, omnisci.thrift.OmniSci.get_heap_profile_result.success, omnisci.thrift.OmniSci.get_memory_result.success, omnisci.thrift.OmniSci.get_table_epoch_result.success, omnisci.thrift.OmniSci.get_table_epoch_by_name_result.success, omnisci.thrift.OmniSci.get_table_epochs_result.success, omnisci.thrift.OmniSci.get_session_info_result.success, omnisci.thrift.OmniSci.sql_execute_result.success, omnisci.thrift.OmniSci.sql_execute_df_result.success, omnisci.thrift.OmniSci.sql_execute_gdf_result.success, omnisci.thrift.OmniSci.sql_validate_result.success, omnisci.thrift.OmniSci.get_completion_hints_result.success, omnisci.thrift.OmniSci.render_vega_result.success, omnisci.thrift.OmniSci.get_result_row_for_pixel_result.success, omnisci.thrift.OmniSci.get_dashboard_result.success, omnisci.thrift.OmniSci.get_dashboards_result.success, omnisci.thrift.OmniSci.create_dashboard_result.success, omnisci.thrift.OmniSci.get_dashboard_grantees_result.success, omnisci.thrift.OmniSci.get_link_view_result.success, omnisci.thrift.OmniSci.create_link_result.success, omnisci.thrift.OmniSci.detect_column_types_result.success, omnisci.thrift.OmniSci.import_table_status_result.success, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_result.success, omnisci.thrift.OmniSci.get_all_files_in_archive_result.success, omnisci.thrift.OmniSci.get_layers_in_geo_file_result.success, omnisci.thrift.OmniSci.query_get_outer_fragment_count_result.success, omnisci.thrift.OmniSci.check_table_consistency_result.success, omnisci.thrift.OmniSci.start_query_result.success, omnisci.thrift.OmniSci.execute_query_step_result.success, omnisci.thrift.OmniSci.start_render_query_result.success, omnisci.thrift.OmniSci.execute_next_render_step_result.success, omnisci.thrift.OmniSci.get_roles_result.success, omnisci.thrift.OmniSci.get_db_objects_for_grantee_result.success, omnisci.thrift.OmniSci.get_db_object_privs_result.success, omnisci.thrift.OmniSci.get_all_roles_for_user_result.success, omnisci.thrift.OmniSci.has_role_result.success, omnisci.thrift.OmniSci.has_object_privilege_result.success, omnisci.thrift.OmniSci.set_license_key_result.success, omnisci.thrift.OmniSci.get_license_claims_result.success, omnisci.thrift.OmniSci.get_device_parameters_result.success, and omnisci.thrift.ttypes.TQueryResult.total_time_ms.

1262  def read(self, iprot):
1263  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
1264  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
1265  return
1266  iprot.readStructBegin()
1267  while True:
1268  (fname, ftype, fid) = iprot.readFieldBegin()
1269  if ftype == TType.STOP:
1270  break
1271  if fid == 1:
1272  if ftype == TType.STRUCT:
1273  self.row_set = TRowSet()
1274  self.row_set.read(iprot)
1275  else:
1276  iprot.skip(ftype)
1277  elif fid == 2:
1278  if ftype == TType.I64:
1279  self.execution_time_ms = iprot.readI64()
1280  else:
1281  iprot.skip(ftype)
1282  elif fid == 3:
1283  if ftype == TType.I64:
1284  self.total_time_ms = iprot.readI64()
1285  else:
1286  iprot.skip(ftype)
1287  elif fid == 4:
1288  if ftype == TType.STRING:
1289  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
1290  else:
1291  iprot.skip(ftype)
1292  elif fid == 5:
1293  if ftype == TType.STRING:
1294  self.debug = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
1295  else:
1296  iprot.skip(ftype)
1297  elif fid == 6:
1298  if ftype == TType.BOOL:
1299  self.success = iprot.readBool()
1300  else:
1301  iprot.skip(ftype)
1302  elif fid == 7:
1303  if ftype == TType.I32:
1304  self.query_type = iprot.readI32()
1305  else:
1306  iprot.skip(ftype)
1307  else:
1308  iprot.skip(ftype)
1309  iprot.readFieldEnd()
1310  iprot.readStructEnd()
def omnisci.thrift.ttypes.TQueryResult.validate (   self)

Definition at line 1347 of file ttypes.py.

1348  def validate(self):
1349  return
def omnisci.thrift.ttypes.TQueryResult.write (   self,
  oprot 
)

Definition at line 1311 of file ttypes.py.

References omnisci.thrift.ttypes.TQueryResult.debug, omnisci.thrift.ttypes.TQueryResult.execution_time_ms, omnisci.thrift.ttypes.TQueryResult.nonce, omnisci.thrift.OmniSci.sql_execute_args.nonce, omnisci.thrift.OmniSci.render_vega_args.nonce, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.nonce, omnisci.thrift.OmniSci.set_license_key_args.nonce, omnisci.thrift.OmniSci.get_license_claims_args.nonce, omnisci.thrift.ttypes.TQueryResult.query_type, omnisci.thrift.ttypes.TQueryResult.row_set, omnisci.thrift.ttypes.TQueryResult.success, Parser::CopyTableStmt.success, omnisci.thrift.OmniSci.connect_result.success, omnisci.thrift.OmniSci.krb5_connect_result.success, omnisci.thrift.OmniSci.clone_session_result.success, omnisci.thrift.OmniSci.get_server_status_result.success, omnisci.thrift.OmniSci.get_status_result.success, omnisci.thrift.OmniSci.get_hardware_info_result.success, omnisci.thrift.OmniSci.get_tables_result.success, omnisci.thrift.OmniSci.get_physical_tables_result.success, omnisci.thrift.OmniSci.get_views_result.success, omnisci.thrift.OmniSci.get_tables_meta_result.success, omnisci.thrift.OmniSci.get_table_details_result.success, omnisci.thrift.OmniSci.get_internal_table_details_result.success, omnisci.thrift.OmniSci.get_users_result.success, omnisci.thrift.OmniSci.get_databases_result.success, omnisci.thrift.OmniSci.get_version_result.success, omnisci.thrift.OmniSci.get_heap_profile_result.success, omnisci.thrift.OmniSci.get_memory_result.success, omnisci.thrift.OmniSci.get_table_epoch_result.success, omnisci.thrift.OmniSci.get_table_epoch_by_name_result.success, omnisci.thrift.OmniSci.get_table_epochs_result.success, omnisci.thrift.OmniSci.get_session_info_result.success, omnisci.thrift.OmniSci.sql_execute_result.success, omnisci.thrift.OmniSci.sql_execute_df_result.success, omnisci.thrift.OmniSci.sql_execute_gdf_result.success, omnisci.thrift.OmniSci.sql_validate_result.success, omnisci.thrift.OmniSci.get_completion_hints_result.success, omnisci.thrift.OmniSci.render_vega_result.success, omnisci.thrift.OmniSci.get_result_row_for_pixel_result.success, omnisci.thrift.OmniSci.get_dashboard_result.success, omnisci.thrift.OmniSci.get_dashboards_result.success, omnisci.thrift.OmniSci.create_dashboard_result.success, omnisci.thrift.OmniSci.get_dashboard_grantees_result.success, omnisci.thrift.OmniSci.get_link_view_result.success, omnisci.thrift.OmniSci.create_link_result.success, omnisci.thrift.OmniSci.detect_column_types_result.success, omnisci.thrift.OmniSci.import_table_status_result.success, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_result.success, omnisci.thrift.OmniSci.get_all_files_in_archive_result.success, omnisci.thrift.OmniSci.get_layers_in_geo_file_result.success, omnisci.thrift.OmniSci.query_get_outer_fragment_count_result.success, omnisci.thrift.OmniSci.check_table_consistency_result.success, omnisci.thrift.OmniSci.start_query_result.success, omnisci.thrift.OmniSci.execute_query_step_result.success, omnisci.thrift.OmniSci.start_render_query_result.success, omnisci.thrift.OmniSci.execute_next_render_step_result.success, omnisci.thrift.OmniSci.get_roles_result.success, omnisci.thrift.OmniSci.get_db_objects_for_grantee_result.success, omnisci.thrift.OmniSci.get_db_object_privs_result.success, omnisci.thrift.OmniSci.get_all_roles_for_user_result.success, omnisci.thrift.OmniSci.has_role_result.success, omnisci.thrift.OmniSci.has_object_privilege_result.success, omnisci.thrift.OmniSci.set_license_key_result.success, omnisci.thrift.OmniSci.get_license_claims_result.success, omnisci.thrift.OmniSci.get_device_parameters_result.success, and omnisci.thrift.ttypes.TQueryResult.total_time_ms.

1312  def write(self, oprot):
1313  if oprot._fast_encode is not None and self.thrift_spec is not None:
1314  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
1315  return
1316  oprot.writeStructBegin('TQueryResult')
1317  if self.row_set is not None:
1318  oprot.writeFieldBegin('row_set', TType.STRUCT, 1)
1319  self.row_set.write(oprot)
1320  oprot.writeFieldEnd()
1321  if self.execution_time_ms is not None:
1322  oprot.writeFieldBegin('execution_time_ms', TType.I64, 2)
1323  oprot.writeI64(self.execution_time_ms)
1324  oprot.writeFieldEnd()
1325  if self.total_time_ms is not None:
1326  oprot.writeFieldBegin('total_time_ms', TType.I64, 3)
1327  oprot.writeI64(self.total_time_ms)
1328  oprot.writeFieldEnd()
1329  if self.nonce is not None:
1330  oprot.writeFieldBegin('nonce', TType.STRING, 4)
1331  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
1332  oprot.writeFieldEnd()
1333  if self.debug is not None:
1334  oprot.writeFieldBegin('debug', TType.STRING, 5)
1335  oprot.writeString(self.debug.encode('utf-8') if sys.version_info[0] == 2 else self.debug)
1336  oprot.writeFieldEnd()
1337  if self.success is not None:
1338  oprot.writeFieldBegin('success', TType.BOOL, 6)
1339  oprot.writeBool(self.success)
1340  oprot.writeFieldEnd()
1341  if self.query_type is not None:
1342  oprot.writeFieldBegin('query_type', TType.I32, 7)
1343  oprot.writeI32(self.query_type)
1344  oprot.writeFieldEnd()
1345  oprot.writeFieldStop()
1346  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TQueryResult.__dict__
private

Definition at line 1356 of file ttypes.py.

omnisci.thrift.ttypes.TQueryResult.debug

Definition at line 1257 of file ttypes.py.

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

omnisci.thrift.ttypes.TQueryResult.execution_time_ms

Definition at line 1254 of file ttypes.py.

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

omnisci.thrift.ttypes.TQueryResult.nonce

Definition at line 1256 of file ttypes.py.

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

omnisci.thrift.ttypes.TQueryResult.query_type

Definition at line 1259 of file ttypes.py.

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

omnisci.thrift.ttypes.TQueryResult.row_set

Definition at line 1253 of file ttypes.py.

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

omnisci.thrift.ttypes.TQueryResult.success

Definition at line 1258 of file ttypes.py.

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

omnisci.thrift.ttypes.TQueryResult.total_time_ms

Definition at line 1255 of file ttypes.py.

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


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