OmniSciDB  cde582ebc3
 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 21878 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 21888 of file Heavy.py.

21889  def __init__(self, session=None, granteeName=None, roleName=None,):
21890  self.session = session
21891  self.granteeName = granteeName
21892  self.roleName = roleName

Member Function Documentation

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

Definition at line 21950 of file Heavy.py.

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

Definition at line 21953 of file Heavy.py.

21954  def __ne__(self, other):
21955  return not (self == other)
21956 all_structs.append(has_role_args)
has_role_args.thrift_spec = (
def heavydb.thrift.Heavy.has_role_args.__repr__ (   self)

Definition at line 21945 of file Heavy.py.

21946  def __repr__(self):
21947  L = ['%s=%r' % (key, value)
21948  for key, value in self.__dict__.items()]
21949  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 21893 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_columnar_polys_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.

21894  def read(self, iprot):
21895  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
21896  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
21897  return
21898  iprot.readStructBegin()
21899  while True:
21900  (fname, ftype, fid) = iprot.readFieldBegin()
21901  if ftype == TType.STOP:
21902  break
21903  if fid == 1:
21904  if ftype == TType.STRING:
21905  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
21906  else:
21907  iprot.skip(ftype)
21908  elif fid == 2:
21909  if ftype == TType.STRING:
21910  self.granteeName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
21911  else:
21912  iprot.skip(ftype)
21913  elif fid == 3:
21914  if ftype == TType.STRING:
21915  self.roleName = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
21916  else:
21917  iprot.skip(ftype)
21918  else:
21919  iprot.skip(ftype)
21920  iprot.readFieldEnd()
21921  iprot.readStructEnd()
def heavydb.thrift.Heavy.has_role_args.validate (   self)

Definition at line 21942 of file Heavy.py.

21943  def validate(self):
21944  return
def heavydb.thrift.Heavy.has_role_args.write (   self,
  oprot 
)

Definition at line 21922 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_columnar_polys_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.

21923  def write(self, oprot):
21924  if oprot._fast_encode is not None and self.thrift_spec is not None:
21925  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
21926  return
21927  oprot.writeStructBegin('has_role_args')
21928  if self.session is not None:
21929  oprot.writeFieldBegin('session', TType.STRING, 1)
21930  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
21931  oprot.writeFieldEnd()
21932  if self.granteeName is not None:
21933  oprot.writeFieldBegin('granteeName', TType.STRING, 2)
21934  oprot.writeString(self.granteeName.encode('utf-8') if sys.version_info[0] == 2 else self.granteeName)
21935  oprot.writeFieldEnd()
21936  if self.roleName is not None:
21937  oprot.writeFieldBegin('roleName', TType.STRING, 3)
21938  oprot.writeString(self.roleName.encode('utf-8') if sys.version_info[0] == 2 else self.roleName)
21939  oprot.writeFieldEnd()
21940  oprot.writeFieldStop()
21941  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.has_role_args.__dict__
private

Definition at line 21951 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.has_role_args.granteeName

Definition at line 21890 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 21891 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 21889 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.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(), and heavydb.thrift.Heavy.get_table_function_details_args.write().


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