OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.get_roles_result Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.get_roles_result:
+ Collaboration diagram for omnisci.thrift.OmniSci.get_roles_result:

Public Member Functions

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

Public Attributes

 success
 
 e
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - success
 - e

Definition at line 17378 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.get_roles_result.__init__ (   self,
  success = None,
  e = None 
)

Definition at line 17387 of file OmniSci.py.

17388  def __init__(self, success=None, e=None,):
17389  self.success = success
17390  self.e = e

Member Function Documentation

def omnisci.thrift.OmniSci.get_roles_result.__eq__ (   self,
  other 
)

Definition at line 17448 of file OmniSci.py.

17449  def __eq__(self, other):
17450  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.get_roles_result.__ne__ (   self,
  other 
)

Definition at line 17451 of file OmniSci.py.

17452  def __ne__(self, other):
17453  return not (self == other)
17454 all_structs.append(get_roles_result)
get_roles_result.thrift_spec = (
def omnisci.thrift.OmniSci.get_roles_result.__repr__ (   self)

Definition at line 17443 of file OmniSci.py.

17444  def __repr__(self):
17445  L = ['%s=%r' % (key, value)
17446  for key, value in self.__dict__.items()]
17447  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.OmniSci.get_roles_result.read (   self,
  iprot 
)

Definition at line 17391 of file OmniSci.py.

References omnisci.thrift.OmniSci.connect_result.e, omnisci.thrift.OmniSci.krb5_connect_result.e, omnisci.thrift.OmniSci.disconnect_result.e, omnisci.thrift.OmniSci.switch_database_result.e, omnisci.thrift.OmniSci.clone_session_result.e, omnisci.thrift.OmniSci.get_server_status_result.e, omnisci.thrift.OmniSci.get_status_result.e, omnisci.thrift.OmniSci.get_hardware_info_result.e, omnisci.thrift.OmniSci.get_tables_result.e, omnisci.thrift.OmniSci.get_physical_tables_result.e, omnisci.thrift.OmniSci.get_views_result.e, omnisci.thrift.OmniSci.get_tables_meta_result.e, omnisci.thrift.OmniSci.get_table_details_result.e, omnisci.thrift.OmniSci.get_internal_table_details_result.e, omnisci.thrift.OmniSci.get_users_result.e, omnisci.thrift.OmniSci.get_databases_result.e, omnisci.thrift.OmniSci.get_version_result.e, omnisci.thrift.OmniSci.start_heap_profile_result.e, omnisci.thrift.OmniSci.stop_heap_profile_result.e, omnisci.thrift.OmniSci.get_heap_profile_result.e, omnisci.thrift.OmniSci.get_memory_result.e, omnisci.thrift.OmniSci.clear_cpu_memory_result.e, omnisci.thrift.OmniSci.clear_gpu_memory_result.e, omnisci.thrift.OmniSci.set_table_epoch_result.e, omnisci.thrift.OmniSci.set_table_epoch_by_name_result.e, omnisci.thrift.OmniSci.get_session_info_result.e, omnisci.thrift.OmniSci.sql_execute_result.e, omnisci.thrift.OmniSci.sql_execute_df_result.e, omnisci.thrift.OmniSci.sql_execute_gdf_result.e, omnisci.thrift.OmniSci.deallocate_df_result.e, omnisci.thrift.OmniSci.interrupt_result.e, omnisci.thrift.OmniSci.sql_validate_result.e, omnisci.thrift.OmniSci.get_completion_hints_result.e, omnisci.thrift.OmniSci.set_execution_mode_result.e, omnisci.thrift.OmniSci.render_vega_result.e, omnisci.thrift.OmniSci.get_result_row_for_pixel_result.e, omnisci.thrift.OmniSci.get_dashboard_result.e, omnisci.thrift.OmniSci.get_dashboards_result.e, omnisci.thrift.OmniSci.create_dashboard_result.e, omnisci.thrift.OmniSci.replace_dashboard_result.e, omnisci.thrift.OmniSci.delete_dashboard_result.e, omnisci.thrift.OmniSci.share_dashboards_result.e, omnisci.thrift.OmniSci.delete_dashboards_result.e, omnisci.thrift.OmniSci.share_dashboard_result.e, omnisci.thrift.OmniSci.unshare_dashboard_result.e, omnisci.thrift.OmniSci.unshare_dashboards_result.e, omnisci.thrift.OmniSci.get_dashboard_grantees_result.e, omnisci.thrift.OmniSci.get_link_view_result.e, omnisci.thrift.OmniSci.create_link_result.e, omnisci.thrift.OmniSci.load_table_binary_result.e, omnisci.thrift.OmniSci.load_table_binary_columnar_result.e, omnisci.thrift.OmniSci.load_table_binary_arrow_result.e, omnisci.thrift.OmniSci.load_table_result.e, omnisci.thrift.OmniSci.detect_column_types_result.e, omnisci.thrift.OmniSci.create_table_result.e, omnisci.thrift.OmniSci.import_table_result.e, omnisci.thrift.OmniSci.import_geo_table_result.e, omnisci.thrift.OmniSci.import_table_status_result.e, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_result.e, omnisci.thrift.OmniSci.get_all_files_in_archive_result.e, omnisci.thrift.OmniSci.get_layers_in_geo_file_result.e, omnisci.thrift.OmniSci.query_get_outer_fragment_count_result.e, omnisci.thrift.OmniSci.check_table_consistency_result.e, omnisci.thrift.OmniSci.start_query_result.e, omnisci.thrift.OmniSci.execute_query_step_result.e, omnisci.thrift.OmniSci.broadcast_serialized_rows_result.e, omnisci.thrift.OmniSci.start_render_query_result.e, omnisci.thrift.OmniSci.execute_next_render_step_result.e, omnisci.thrift.OmniSci.insert_data_result.e, omnisci.thrift.OmniSci.checkpoint_result.e, omnisci.thrift.OmniSci.get_roles_result.e, 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, and omnisci.thrift.OmniSci.get_roles_result.success.

17392  def read(self, iprot):
17393  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17394  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17395  return
17396  iprot.readStructBegin()
17397  while True:
17398  (fname, ftype, fid) = iprot.readFieldBegin()
17399  if ftype == TType.STOP:
17400  break
17401  if fid == 0:
17402  if ftype == TType.LIST:
17403  self.success = []
17404  (_etype527, _size524) = iprot.readListBegin()
17405  for _i528 in range(_size524):
17406  _elem529 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17407  self.success.append(_elem529)
17408  iprot.readListEnd()
17409  else:
17410  iprot.skip(ftype)
17411  elif fid == 1:
17412  if ftype == TType.STRUCT:
17413  self.e = TOmniSciException()
17414  self.e.read(iprot)
17415  else:
17416  iprot.skip(ftype)
17417  else:
17418  iprot.skip(ftype)
17419  iprot.readFieldEnd()
17420  iprot.readStructEnd()
def omnisci.thrift.OmniSci.get_roles_result.validate (   self)

Definition at line 17440 of file OmniSci.py.

17441  def validate(self):
17442  return
def omnisci.thrift.OmniSci.get_roles_result.write (   self,
  oprot 
)

Definition at line 17421 of file OmniSci.py.

References omnisci.thrift.OmniSci.connect_result.e, omnisci.thrift.OmniSci.krb5_connect_result.e, omnisci.thrift.OmniSci.disconnect_result.e, omnisci.thrift.OmniSci.switch_database_result.e, omnisci.thrift.OmniSci.clone_session_result.e, omnisci.thrift.OmniSci.get_server_status_result.e, omnisci.thrift.OmniSci.get_status_result.e, omnisci.thrift.OmniSci.get_hardware_info_result.e, omnisci.thrift.OmniSci.get_tables_result.e, omnisci.thrift.OmniSci.get_physical_tables_result.e, omnisci.thrift.OmniSci.get_views_result.e, omnisci.thrift.OmniSci.get_tables_meta_result.e, omnisci.thrift.OmniSci.get_table_details_result.e, omnisci.thrift.OmniSci.get_internal_table_details_result.e, omnisci.thrift.OmniSci.get_users_result.e, omnisci.thrift.OmniSci.get_databases_result.e, omnisci.thrift.OmniSci.get_version_result.e, omnisci.thrift.OmniSci.start_heap_profile_result.e, omnisci.thrift.OmniSci.stop_heap_profile_result.e, omnisci.thrift.OmniSci.get_heap_profile_result.e, omnisci.thrift.OmniSci.get_memory_result.e, omnisci.thrift.OmniSci.clear_cpu_memory_result.e, omnisci.thrift.OmniSci.clear_gpu_memory_result.e, omnisci.thrift.OmniSci.set_table_epoch_result.e, omnisci.thrift.OmniSci.set_table_epoch_by_name_result.e, omnisci.thrift.OmniSci.get_session_info_result.e, omnisci.thrift.OmniSci.sql_execute_result.e, omnisci.thrift.OmniSci.sql_execute_df_result.e, omnisci.thrift.OmniSci.sql_execute_gdf_result.e, omnisci.thrift.OmniSci.deallocate_df_result.e, omnisci.thrift.OmniSci.interrupt_result.e, omnisci.thrift.OmniSci.sql_validate_result.e, omnisci.thrift.OmniSci.get_completion_hints_result.e, omnisci.thrift.OmniSci.set_execution_mode_result.e, omnisci.thrift.OmniSci.render_vega_result.e, omnisci.thrift.OmniSci.get_result_row_for_pixel_result.e, omnisci.thrift.OmniSci.get_dashboard_result.e, omnisci.thrift.OmniSci.get_dashboards_result.e, omnisci.thrift.OmniSci.create_dashboard_result.e, omnisci.thrift.OmniSci.replace_dashboard_result.e, omnisci.thrift.OmniSci.delete_dashboard_result.e, omnisci.thrift.OmniSci.share_dashboards_result.e, omnisci.thrift.OmniSci.delete_dashboards_result.e, omnisci.thrift.OmniSci.share_dashboard_result.e, omnisci.thrift.OmniSci.unshare_dashboard_result.e, omnisci.thrift.OmniSci.unshare_dashboards_result.e, omnisci.thrift.OmniSci.get_dashboard_grantees_result.e, omnisci.thrift.OmniSci.get_link_view_result.e, omnisci.thrift.OmniSci.create_link_result.e, omnisci.thrift.OmniSci.load_table_binary_result.e, omnisci.thrift.OmniSci.load_table_binary_columnar_result.e, omnisci.thrift.OmniSci.load_table_binary_arrow_result.e, omnisci.thrift.OmniSci.load_table_result.e, omnisci.thrift.OmniSci.detect_column_types_result.e, omnisci.thrift.OmniSci.create_table_result.e, omnisci.thrift.OmniSci.import_table_result.e, omnisci.thrift.OmniSci.import_geo_table_result.e, omnisci.thrift.OmniSci.import_table_status_result.e, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_result.e, omnisci.thrift.OmniSci.get_all_files_in_archive_result.e, omnisci.thrift.OmniSci.get_layers_in_geo_file_result.e, omnisci.thrift.OmniSci.query_get_outer_fragment_count_result.e, omnisci.thrift.OmniSci.check_table_consistency_result.e, omnisci.thrift.OmniSci.start_query_result.e, omnisci.thrift.OmniSci.execute_query_step_result.e, omnisci.thrift.OmniSci.broadcast_serialized_rows_result.e, omnisci.thrift.OmniSci.start_render_query_result.e, omnisci.thrift.OmniSci.execute_next_render_step_result.e, omnisci.thrift.OmniSci.insert_data_result.e, omnisci.thrift.OmniSci.checkpoint_result.e, omnisci.thrift.OmniSci.get_roles_result.e, 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, and omnisci.thrift.OmniSci.get_roles_result.success.

17422  def write(self, oprot):
17423  if oprot._fast_encode is not None and self.thrift_spec is not None:
17424  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17425  return
17426  oprot.writeStructBegin('get_roles_result')
17427  if self.success is not None:
17428  oprot.writeFieldBegin('success', TType.LIST, 0)
17429  oprot.writeListBegin(TType.STRING, len(self.success))
17430  for iter530 in self.success:
17431  oprot.writeString(iter530.encode('utf-8') if sys.version_info[0] == 2 else iter530)
17432  oprot.writeListEnd()
17433  oprot.writeFieldEnd()
17434  if self.e is not None:
17435  oprot.writeFieldBegin('e', TType.STRUCT, 1)
17436  self.e.write(oprot)
17437  oprot.writeFieldEnd()
17438  oprot.writeFieldStop()
17439  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.get_roles_result.__dict__
private

Definition at line 17449 of file OmniSci.py.

omnisci.thrift.OmniSci.get_roles_result.e

Definition at line 17389 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.get_roles_result.read(), omnisci.thrift.OmniSci.get_db_objects_for_grantee_result.read(), omnisci.thrift.OmniSci.get_db_object_privs_result.read(), omnisci.thrift.OmniSci.get_all_roles_for_user_result.read(), omnisci.thrift.OmniSci.has_role_result.read(), omnisci.thrift.OmniSci.has_object_privilege_result.read(), omnisci.thrift.OmniSci.set_license_key_result.read(), omnisci.thrift.OmniSci.get_license_claims_result.read(), omnisci.thrift.OmniSci.get_device_parameters_result.read(), omnisci.thrift.OmniSci.register_runtime_extension_functions_result.read(), omnisci.thrift.OmniSci.get_roles_result.write(), omnisci.thrift.OmniSci.get_db_objects_for_grantee_result.write(), omnisci.thrift.OmniSci.get_db_object_privs_result.write(), omnisci.thrift.OmniSci.get_all_roles_for_user_result.write(), omnisci.thrift.OmniSci.has_role_result.write(), omnisci.thrift.OmniSci.has_object_privilege_result.write(), omnisci.thrift.OmniSci.set_license_key_result.write(), omnisci.thrift.OmniSci.get_license_claims_result.write(), omnisci.thrift.OmniSci.get_device_parameters_result.write(), and omnisci.thrift.OmniSci.register_runtime_extension_functions_result.write().

omnisci.thrift.OmniSci.get_roles_result.success

Definition at line 17388 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TQueryResult.read(), omnisci.thrift.OmniSci.get_roles_result.read(), omnisci.thrift.OmniSci.get_db_objects_for_grantee_result.read(), omnisci.thrift.OmniSci.get_db_object_privs_result.read(), omnisci.thrift.OmniSci.get_all_roles_for_user_result.read(), omnisci.thrift.OmniSci.has_role_result.read(), omnisci.thrift.OmniSci.has_object_privilege_result.read(), omnisci.thrift.OmniSci.set_license_key_result.read(), omnisci.thrift.OmniSci.get_license_claims_result.read(), omnisci.thrift.OmniSci.get_device_parameters_result.read(), omnisci.thrift.ttypes.TQueryResult.write(), omnisci.thrift.OmniSci.get_roles_result.write(), omnisci.thrift.OmniSci.get_db_objects_for_grantee_result.write(), omnisci.thrift.OmniSci.get_db_object_privs_result.write(), omnisci.thrift.OmniSci.get_all_roles_for_user_result.write(), omnisci.thrift.OmniSci.has_role_result.write(), omnisci.thrift.OmniSci.has_object_privilege_result.write(), omnisci.thrift.OmniSci.set_license_key_result.write(), omnisci.thrift.OmniSci.get_license_claims_result.write(), and omnisci.thrift.OmniSci.get_device_parameters_result.write().


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