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

Public Member Functions

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

Public Attributes

 session
 
 granteeName
 
 roleName
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - granteeName
 - roleName

Definition at line 21815 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.has_role_args.__init__ (   self,
  session = None,
  granteeName = None,
  roleName = None 
)

Definition at line 21825 of file Heavy.py.

21826  def __init__(self, session=None, granteeName=None, roleName=None,):
21827  self.session = session
21828  self.granteeName = granteeName
21829  self.roleName = roleName

Member Function Documentation

def heavydb.thrift.Heavy.has_role_args.__eq__ (   self,
  other 
)

Definition at line 21887 of file Heavy.py.

21888  def __eq__(self, other):
21889  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.has_role_args.__ne__ (   self,
  other 
)

Definition at line 21890 of file Heavy.py.

21891  def __ne__(self, other):
21892  return not (self == other)
21893 all_structs.append(has_role_args)
has_role_args.thrift_spec = (
def heavydb.thrift.Heavy.has_role_args.__repr__ (   self)

Definition at line 21882 of file Heavy.py.

21883  def __repr__(self):
21884  L = ['%s=%r' % (key, value)
21885  for key, value in self.__dict__.items()]
21886  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.Heavy.has_role_args.read (   self,
  iprot 
)

Definition at line 21830 of file Heavy.py.

References com.mapd.parser.extension.ddl.SqlShowPolicies.granteeName, com.mapd.parser.extension.ddl.SqlDropPolicy.granteeName, com.mapd.parser.extension.ddl.SqlCreatePolicy.granteeName, heavydb.thrift.Heavy.has_role_args.granteeName, ObjectRoleDescriptor.roleName, heavydb.thrift.Heavy.get_db_objects_for_grantee_args.roleName, heavydb.thrift.Heavy.has_role_args.roleName, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, heavydb.thrift.Heavy.sql_execute_args.session, heavydb.thrift.Heavy.sql_execute_df_args.session, heavydb.thrift.Heavy.sql_execute_gdf_args.session, heavydb.thrift.Heavy.deallocate_df_args.session, heavydb.thrift.Heavy.sql_validate_args.session, heavydb.thrift.Heavy.get_completion_hints_args.session, heavydb.thrift.Heavy.set_execution_mode_args.session, heavydb.thrift.Heavy.render_vega_args.session, heavydb.thrift.Heavy.get_result_row_for_pixel_args.session, heavydb.thrift.Heavy.create_custom_expression_args.session, heavydb.thrift.Heavy.get_custom_expressions_args.session, heavydb.thrift.Heavy.update_custom_expression_args.session, heavydb.thrift.Heavy.delete_custom_expressions_args.session, heavydb.thrift.Heavy.get_dashboard_args.session, heavydb.thrift.Heavy.get_dashboards_args.session, heavydb.thrift.Heavy.create_dashboard_args.session, heavydb.thrift.Heavy.replace_dashboard_args.session, heavydb.thrift.Heavy.delete_dashboard_args.session, heavydb.thrift.Heavy.share_dashboards_args.session, heavydb.thrift.Heavy.delete_dashboards_args.session, heavydb.thrift.Heavy.share_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboards_args.session, heavydb.thrift.Heavy.get_dashboard_grantees_args.session, heavydb.thrift.Heavy.get_link_view_args.session, heavydb.thrift.Heavy.create_link_args.session, heavydb.thrift.Heavy.load_table_binary_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, heavydb.thrift.Heavy.detect_column_types_args.session, heavydb.thrift.Heavy.create_table_args.session, heavydb.thrift.Heavy.import_table_args.session, heavydb.thrift.Heavy.import_geo_table_args.session, heavydb.thrift.Heavy.import_table_status_args.session, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.session, heavydb.thrift.Heavy.get_all_files_in_archive_args.session, heavydb.thrift.Heavy.get_layers_in_geo_file_args.session, heavydb.thrift.Heavy.query_get_outer_fragment_count_args.session, heavydb.thrift.Heavy.check_table_consistency_args.session, heavydb.thrift.Heavy.start_render_query_args.session, heavydb.thrift.Heavy.insert_data_args.session, heavydb.thrift.Heavy.insert_chunks_args.session, heavydb.thrift.Heavy.checkpoint_args.session, heavydb.thrift.Heavy.get_roles_args.session, heavydb.thrift.Heavy.get_db_objects_for_grantee_args.session, heavydb.thrift.Heavy.get_db_object_privs_args.session, heavydb.thrift.Heavy.get_all_roles_for_user_args.session, heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.session, and heavydb.thrift.Heavy.has_role_args.session.

21831  def read(self, iprot):
21832  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
21833  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
21834  return
21835  iprot.readStructBegin()
21836  while True:
21837  (fname, ftype, fid) = iprot.readFieldBegin()
21838  if ftype == TType.STOP:
21839  break
21840  if fid == 1:
21841  if ftype == TType.STRING:
21842  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
21843  else:
21844  iprot.skip(ftype)
21845  elif fid == 2:
21846  if ftype == TType.STRING:
21847  self.granteeName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
21848  else:
21849  iprot.skip(ftype)
21850  elif fid == 3:
21851  if ftype == TType.STRING:
21852  self.roleName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
21853  else:
21854  iprot.skip(ftype)
21855  else:
21856  iprot.skip(ftype)
21857  iprot.readFieldEnd()
21858  iprot.readStructEnd()
def heavydb.thrift.Heavy.has_role_args.validate (   self)

Definition at line 21879 of file Heavy.py.

21880  def validate(self):
21881  return
def heavydb.thrift.Heavy.has_role_args.write (   self,
  oprot 
)

Definition at line 21859 of file Heavy.py.

References com.mapd.parser.extension.ddl.SqlShowPolicies.granteeName, com.mapd.parser.extension.ddl.SqlDropPolicy.granteeName, com.mapd.parser.extension.ddl.SqlCreatePolicy.granteeName, heavydb.thrift.Heavy.has_role_args.granteeName, ObjectRoleDescriptor.roleName, heavydb.thrift.Heavy.get_db_objects_for_grantee_args.roleName, heavydb.thrift.Heavy.has_role_args.roleName, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, heavydb.thrift.Heavy.sql_execute_args.session, heavydb.thrift.Heavy.sql_execute_df_args.session, heavydb.thrift.Heavy.sql_execute_gdf_args.session, heavydb.thrift.Heavy.deallocate_df_args.session, heavydb.thrift.Heavy.sql_validate_args.session, heavydb.thrift.Heavy.get_completion_hints_args.session, heavydb.thrift.Heavy.set_execution_mode_args.session, heavydb.thrift.Heavy.render_vega_args.session, heavydb.thrift.Heavy.get_result_row_for_pixel_args.session, heavydb.thrift.Heavy.create_custom_expression_args.session, heavydb.thrift.Heavy.get_custom_expressions_args.session, heavydb.thrift.Heavy.update_custom_expression_args.session, heavydb.thrift.Heavy.delete_custom_expressions_args.session, heavydb.thrift.Heavy.get_dashboard_args.session, heavydb.thrift.Heavy.get_dashboards_args.session, heavydb.thrift.Heavy.create_dashboard_args.session, heavydb.thrift.Heavy.replace_dashboard_args.session, heavydb.thrift.Heavy.delete_dashboard_args.session, heavydb.thrift.Heavy.share_dashboards_args.session, heavydb.thrift.Heavy.delete_dashboards_args.session, heavydb.thrift.Heavy.share_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboards_args.session, heavydb.thrift.Heavy.get_dashboard_grantees_args.session, heavydb.thrift.Heavy.get_link_view_args.session, heavydb.thrift.Heavy.create_link_args.session, heavydb.thrift.Heavy.load_table_binary_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, heavydb.thrift.Heavy.detect_column_types_args.session, heavydb.thrift.Heavy.create_table_args.session, heavydb.thrift.Heavy.import_table_args.session, heavydb.thrift.Heavy.import_geo_table_args.session, heavydb.thrift.Heavy.import_table_status_args.session, heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.session, heavydb.thrift.Heavy.get_all_files_in_archive_args.session, heavydb.thrift.Heavy.get_layers_in_geo_file_args.session, heavydb.thrift.Heavy.query_get_outer_fragment_count_args.session, heavydb.thrift.Heavy.check_table_consistency_args.session, heavydb.thrift.Heavy.start_render_query_args.session, heavydb.thrift.Heavy.insert_data_args.session, heavydb.thrift.Heavy.insert_chunks_args.session, heavydb.thrift.Heavy.checkpoint_args.session, heavydb.thrift.Heavy.get_roles_args.session, heavydb.thrift.Heavy.get_db_objects_for_grantee_args.session, heavydb.thrift.Heavy.get_db_object_privs_args.session, heavydb.thrift.Heavy.get_all_roles_for_user_args.session, heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.session, and heavydb.thrift.Heavy.has_role_args.session.

21860  def write(self, oprot):
21861  if oprot._fast_encode is not None and self.thrift_spec is not None:
21862  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
21863  return
21864  oprot.writeStructBegin('has_role_args')
21865  if self.session is not None:
21866  oprot.writeFieldBegin('session', TType.STRING, 1)
21867  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
21868  oprot.writeFieldEnd()
21869  if self.granteeName is not None:
21870  oprot.writeFieldBegin('granteeName', TType.STRING, 2)
21871  oprot.writeString(self.granteeName.encode('utf-8') if sys.version_info[0] == 2 else self.granteeName)
21872  oprot.writeFieldEnd()
21873  if self.roleName is not None:
21874  oprot.writeFieldBegin('roleName', TType.STRING, 3)
21875  oprot.writeString(self.roleName.encode('utf-8') if sys.version_info[0] == 2 else self.roleName)
21876  oprot.writeFieldEnd()
21877  oprot.writeFieldStop()
21878  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.has_role_args.__dict__
private

Definition at line 21888 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.has_role_args.granteeName

Definition at line 21827 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.has_role_args.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.Heavy.has_role_args.write(), and heavydb.thrift.Heavy.has_object_privilege_args.write().

heavydb.thrift.Heavy.has_role_args.roleName

Definition at line 21828 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.has_role_args.read(), and heavydb.thrift.Heavy.has_role_args.write().

heavydb.thrift.Heavy.has_role_args.session

Definition at line 21826 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.has_role_args.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.Heavy.set_license_key_args.read(), heavydb.thrift.Heavy.get_license_claims_args.read(), heavydb.thrift.Heavy.get_device_parameters_args.read(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.read(), heavydb.thrift.Heavy.get_table_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.read(), heavydb.thrift.Heavy.get_table_function_details_args.read(), heavydb.thrift.Heavy.get_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_function_names_args.read(), heavydb.thrift.Heavy.get_function_details_args.read(), heavydb.thrift.Heavy.has_role_args.write(), heavydb.thrift.Heavy.has_object_privilege_args.write(), heavydb.thrift.Heavy.set_license_key_args.write(), heavydb.thrift.Heavy.get_license_claims_args.write(), heavydb.thrift.Heavy.get_device_parameters_args.write(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.write(), heavydb.thrift.Heavy.get_table_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.write(), heavydb.thrift.Heavy.get_table_function_details_args.write(), heavydb.thrift.Heavy.get_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_function_names_args.write(), and heavydb.thrift.Heavy.get_function_details_args.write().


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