OmniSciDB  8fa3bf436f
 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 17939 of file OmniSci.py.

Constructor & Destructor Documentation

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

Definition at line 17948 of file OmniSci.py.

17949  def __init__(self, success=None, e=None,):
17950  self.success = success
17951  self.e = e

Member Function Documentation

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

Definition at line 18009 of file OmniSci.py.

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

Definition at line 18012 of file OmniSci.py.

18013  def __ne__(self, other):
18014  return not (self == other)
18015 all_structs.append(get_roles_result)
get_roles_result.thrift_spec = (
def omnisci.thrift.OmniSci.get_roles_result.__repr__ (   self)

Definition at line 18004 of file OmniSci.py.

18005  def __repr__(self):
18006  L = ['%s=%r' % (key, value)
18007  for key, value in self.__dict__.items()]
18008  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 17952 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_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, and omnisci.thrift.OmniSci.get_roles_result.success.

17953  def read(self, iprot):
17954  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17955  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17956  return
17957  iprot.readStructBegin()
17958  while True:
17959  (fname, ftype, fid) = iprot.readFieldBegin()
17960  if ftype == TType.STOP:
17961  break
17962  if fid == 0:
17963  if ftype == TType.LIST:
17964  self.success = []
17965  (_etype562, _size559) = iprot.readListBegin()
17966  for _i563 in range(_size559):
17967  _elem564 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17968  self.success.append(_elem564)
17969  iprot.readListEnd()
17970  else:
17971  iprot.skip(ftype)
17972  elif fid == 1:
17973  if ftype == TType.STRUCT:
17974  self.e = TOmniSciException()
17975  self.e.read(iprot)
17976  else:
17977  iprot.skip(ftype)
17978  else:
17979  iprot.skip(ftype)
17980  iprot.readFieldEnd()
17981  iprot.readStructEnd()
def omnisci.thrift.OmniSci.get_roles_result.validate (   self)

Definition at line 18001 of file OmniSci.py.

18002  def validate(self):
18003  return
def omnisci.thrift.OmniSci.get_roles_result.write (   self,
  oprot 
)

Definition at line 17982 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_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, and omnisci.thrift.OmniSci.get_roles_result.success.

17983  def write(self, oprot):
17984  if oprot._fast_encode is not None and self.thrift_spec is not None:
17985  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17986  return
17987  oprot.writeStructBegin('get_roles_result')
17988  if self.success is not None:
17989  oprot.writeFieldBegin('success', TType.LIST, 0)
17990  oprot.writeListBegin(TType.STRING, len(self.success))
17991  for iter565 in self.success:
17992  oprot.writeString(iter565.encode('utf-8') if sys.version_info[0] == 2 else iter565)
17993  oprot.writeListEnd()
17994  oprot.writeFieldEnd()
17995  if self.e is not None:
17996  oprot.writeFieldBegin('e', TType.STRUCT, 1)
17997  self.e.write(oprot)
17998  oprot.writeFieldEnd()
17999  oprot.writeFieldStop()
18000  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.get_roles_result.__dict__
private

Definition at line 18010 of file OmniSci.py.

omnisci.thrift.OmniSci.get_roles_result.e

Definition at line 17950 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 17949 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: