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

Public Member Functions

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

Public Attributes

 session
 
 dashboard_id
 
 groups
 
 objects
 
 permissions
 
 grant_role
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - dashboard_id
 - groups
 - objects
 - permissions
 - grant_role

Definition at line 16217 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.share_dashboard_args.__init__ (   self,
  session = None,
  dashboard_id = None,
  groups = None,
  objects = None,
  permissions = None,
  grant_role = False 
)

Definition at line 16230 of file Heavy.py.

16231  def __init__(self, session=None, dashboard_id=None, groups=None, objects=None, permissions=None, grant_role=False,):
16232  self.session = session
16233  self.dashboard_id = dashboard_id
16234  self.groups = groups
16235  self.objects = objects
16236  self.permissions = permissions
16237  self.grant_role = grant_role

Member Function Documentation

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

Definition at line 16339 of file Heavy.py.

16340  def __eq__(self, other):
16341  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.share_dashboard_args.__ne__ (   self,
  other 
)

Definition at line 16342 of file Heavy.py.

16343  def __ne__(self, other):
16344  return not (self == other)
16345 all_structs.append(share_dashboard_args)
share_dashboard_args.thrift_spec = (
def heavydb.thrift.Heavy.share_dashboard_args.__repr__ (   self)

Definition at line 16334 of file Heavy.py.

16335  def __repr__(self):
16336  L = ['%s=%r' % (key, value)
16337  for key, value in self.__dict__.items()]
16338  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.share_dashboard_args.read (   self,
  iprot 
)

Definition at line 16238 of file Heavy.py.

References heavydb.thrift.Heavy.get_dashboard_args.dashboard_id, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_id, heavydb.thrift.Heavy.delete_dashboard_args.dashboard_id, heavydb.thrift.Heavy.share_dashboard_args.dashboard_id, heavydb.thrift.Heavy.share_dashboard_args.grant_role, heavydb.thrift.Heavy.share_dashboards_args.groups, heavydb.thrift.Heavy.share_dashboard_args.groups, heavydb.thrift.Heavy.share_dashboard_args.objects, heavydb.thrift.Heavy.share_dashboards_args.permissions, heavydb.thrift.Heavy.share_dashboard_args.permissions, 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, and heavydb.thrift.Heavy.share_dashboard_args.session.

16239  def read(self, iprot):
16240  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16241  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16242  return
16243  iprot.readStructBegin()
16244  while True:
16245  (fname, ftype, fid) = iprot.readFieldBegin()
16246  if ftype == TType.STOP:
16247  break
16248  if fid == 1:
16249  if ftype == TType.STRING:
16250  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
16251  else:
16252  iprot.skip(ftype)
16253  elif fid == 2:
16254  if ftype == TType.I32:
16255  self.dashboard_id = iprot.readI32()
16256  else:
16257  iprot.skip(ftype)
16258  elif fid == 3:
16259  if ftype == TType.LIST:
16260  self.groups = []
16261  (_etype435, _size432) = iprot.readListBegin()
16262  for _i436 in range(_size432):
16263  _elem437 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
16264  self.groups.append(_elem437)
16265  iprot.readListEnd()
16266  else:
16267  iprot.skip(ftype)
16268  elif fid == 4:
16269  if ftype == TType.LIST:
16270  self.objects = []
16271  (_etype441, _size438) = iprot.readListBegin()
16272  for _i442 in range(_size438):
16273  _elem443 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
16274  self.objects.append(_elem443)
16275  iprot.readListEnd()
16276  else:
16277  iprot.skip(ftype)
16278  elif fid == 5:
16279  if ftype == TType.STRUCT:
16280  self.permissions = TDashboardPermissions()
16281  self.permissions.read(iprot)
16282  else:
16283  iprot.skip(ftype)
16284  elif fid == 6:
16285  if ftype == TType.BOOL:
16286  self.grant_role = iprot.readBool()
16287  else:
16288  iprot.skip(ftype)
16289  else:
16290  iprot.skip(ftype)
16291  iprot.readFieldEnd()
16292  iprot.readStructEnd()
def heavydb.thrift.Heavy.share_dashboard_args.validate (   self)

Definition at line 16331 of file Heavy.py.

16332  def validate(self):
16333  return
def heavydb.thrift.Heavy.share_dashboard_args.write (   self,
  oprot 
)

Definition at line 16293 of file Heavy.py.

References heavydb.thrift.Heavy.get_dashboard_args.dashboard_id, heavydb.thrift.Heavy.replace_dashboard_args.dashboard_id, heavydb.thrift.Heavy.delete_dashboard_args.dashboard_id, heavydb.thrift.Heavy.share_dashboard_args.dashboard_id, heavydb.thrift.Heavy.share_dashboard_args.grant_role, heavydb.thrift.Heavy.share_dashboards_args.groups, heavydb.thrift.Heavy.share_dashboard_args.groups, heavydb.thrift.Heavy.share_dashboard_args.objects, heavydb.thrift.Heavy.share_dashboards_args.permissions, heavydb.thrift.Heavy.share_dashboard_args.permissions, 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, and heavydb.thrift.Heavy.share_dashboard_args.session.

16294  def write(self, oprot):
16295  if oprot._fast_encode is not None and self.thrift_spec is not None:
16296  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16297  return
16298  oprot.writeStructBegin('share_dashboard_args')
16299  if self.session is not None:
16300  oprot.writeFieldBegin('session', TType.STRING, 1)
16301  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
16302  oprot.writeFieldEnd()
16303  if self.dashboard_id is not None:
16304  oprot.writeFieldBegin('dashboard_id', TType.I32, 2)
16305  oprot.writeI32(self.dashboard_id)
16306  oprot.writeFieldEnd()
16307  if self.groups is not None:
16308  oprot.writeFieldBegin('groups', TType.LIST, 3)
16309  oprot.writeListBegin(TType.STRING, len(self.groups))
16310  for iter444 in self.groups:
16311  oprot.writeString(iter444.encode('utf-8') if sys.version_info[0] == 2 else iter444)
16312  oprot.writeListEnd()
16313  oprot.writeFieldEnd()
16314  if self.objects is not None:
16315  oprot.writeFieldBegin('objects', TType.LIST, 4)
16316  oprot.writeListBegin(TType.STRING, len(self.objects))
16317  for iter445 in self.objects:
16318  oprot.writeString(iter445.encode('utf-8') if sys.version_info[0] == 2 else iter445)
16319  oprot.writeListEnd()
16320  oprot.writeFieldEnd()
16321  if self.permissions is not None:
16322  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
16323  self.permissions.write(oprot)
16324  oprot.writeFieldEnd()
16325  if self.grant_role is not None:
16326  oprot.writeFieldBegin('grant_role', TType.BOOL, 6)
16327  oprot.writeBool(self.grant_role)
16328  oprot.writeFieldEnd()
16329  oprot.writeFieldStop()
16330  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.share_dashboard_args.__dict__
private

Definition at line 16340 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.share_dashboard_args.dashboard_id

Definition at line 16232 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TDashboard.read(), heavydb.thrift.Heavy.share_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboard_args.read(), heavydb.thrift.Heavy.get_dashboard_grantees_args.read(), heavydb.thrift.ttypes.TDashboard.write(), heavydb.thrift.Heavy.share_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboard_args.write(), and heavydb.thrift.Heavy.get_dashboard_grantees_args.write().

heavydb.thrift.Heavy.share_dashboard_args.grant_role

Definition at line 16236 of file Heavy.py.

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

heavydb.thrift.Heavy.share_dashboard_args.groups

Definition at line 16233 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.share_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboards_args.read(), heavydb.thrift.Heavy.share_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboard_args.write(), and heavydb.thrift.Heavy.unshare_dashboards_args.write().

heavydb.thrift.Heavy.share_dashboard_args.objects

Definition at line 16234 of file Heavy.py.

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

heavydb.thrift.Heavy.share_dashboard_args.permissions

Definition at line 16235 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TDashboardGrantees.read(), heavydb.thrift.Heavy.share_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboards_args.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.ttypes.TDashboardGrantees.write(), heavydb.thrift.Heavy.share_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboards_args.write(), and heavydb.thrift.Heavy.has_object_privilege_args.write().

heavydb.thrift.Heavy.share_dashboard_args.session

Definition at line 16231 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.share_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboards_args.read(), heavydb.thrift.Heavy.get_dashboard_grantees_args.read(), heavydb.thrift.Heavy.get_link_view_args.read(), heavydb.thrift.Heavy.create_link_args.read(), heavydb.thrift.Heavy.load_table_binary_args.read(), heavydb.thrift.Heavy.load_table_binary_columnar_args.read(), heavydb.thrift.Heavy.load_table_binary_columnar_polys_args.read(), heavydb.thrift.Heavy.load_table_binary_arrow_args.read(), heavydb.thrift.Heavy.load_table_args.read(), heavydb.thrift.Heavy.detect_column_types_args.read(), heavydb.thrift.Heavy.create_table_args.read(), heavydb.thrift.Heavy.import_table_args.read(), heavydb.thrift.Heavy.import_geo_table_args.read(), heavydb.thrift.Heavy.import_table_status_args.read(), heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.read(), heavydb.thrift.Heavy.get_all_files_in_archive_args.read(), heavydb.thrift.Heavy.get_layers_in_geo_file_args.read(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.read(), heavydb.thrift.Heavy.check_table_consistency_args.read(), heavydb.thrift.Heavy.start_render_query_args.read(), heavydb.thrift.Heavy.insert_data_args.read(), heavydb.thrift.Heavy.insert_chunks_args.read(), heavydb.thrift.Heavy.checkpoint_args.read(), heavydb.thrift.Heavy.get_roles_args.read(), heavydb.thrift.Heavy.get_db_objects_for_grantee_args.read(), heavydb.thrift.Heavy.get_db_object_privs_args.read(), heavydb.thrift.Heavy.get_all_roles_for_user_args.read(), heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.read(), 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.share_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboards_args.write(), heavydb.thrift.Heavy.get_dashboard_grantees_args.write(), heavydb.thrift.Heavy.get_link_view_args.write(), heavydb.thrift.Heavy.create_link_args.write(), heavydb.thrift.Heavy.load_table_binary_args.write(), heavydb.thrift.Heavy.load_table_binary_columnar_args.write(), heavydb.thrift.Heavy.load_table_binary_columnar_polys_args.write(), heavydb.thrift.Heavy.load_table_binary_arrow_args.write(), heavydb.thrift.Heavy.load_table_args.write(), heavydb.thrift.Heavy.detect_column_types_args.write(), heavydb.thrift.Heavy.create_table_args.write(), heavydb.thrift.Heavy.import_table_args.write(), heavydb.thrift.Heavy.import_geo_table_args.write(), heavydb.thrift.Heavy.import_table_status_args.write(), heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.write(), heavydb.thrift.Heavy.get_all_files_in_archive_args.write(), heavydb.thrift.Heavy.get_layers_in_geo_file_args.write(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.write(), heavydb.thrift.Heavy.check_table_consistency_args.write(), heavydb.thrift.Heavy.start_render_query_args.write(), heavydb.thrift.Heavy.insert_data_args.write(), heavydb.thrift.Heavy.insert_chunks_args.write(), heavydb.thrift.Heavy.checkpoint_args.write(), heavydb.thrift.Heavy.get_roles_args.write(), heavydb.thrift.Heavy.get_db_objects_for_grantee_args.write(), heavydb.thrift.Heavy.get_db_object_privs_args.write(), heavydb.thrift.Heavy.get_all_roles_for_user_args.write(), heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.write(), 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: