OmniSciDB  340b00dbf6
 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 1235 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 1249 of file ttypes.py.

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

Member Function Documentation

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

Definition at line 1352 of file ttypes.py.

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

Definition at line 1355 of file ttypes.py.

1356  def __ne__(self, other):
1357  return not (self == other)
1358 
def omnisci.thrift.ttypes.TQueryResult.__repr__ (   self)

Definition at line 1347 of file ttypes.py.

1348  def __repr__(self):
1349  L = ['%s=%r' % (key, value)
1350  for key, value in self.__dict__.items()]
1351  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 1258 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_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.

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

Definition at line 1344 of file ttypes.py.

1345  def validate(self):
1346  return
def omnisci.thrift.ttypes.TQueryResult.write (   self,
  oprot 
)

Definition at line 1308 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_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.

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

Member Data Documentation

omnisci.thrift.ttypes.TQueryResult.__dict__
private

Definition at line 1353 of file ttypes.py.

omnisci.thrift.ttypes.TQueryResult.debug

Definition at line 1254 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 1251 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 1253 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 1256 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 1250 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 1255 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 1252 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: