OmniSciDB  a5dc49c757
 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 16348 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 16361 of file Heavy.py.

16362  def __init__(self, session=None, dashboard_id=None, groups=None, objects=None, permissions=None, grant_role=False,):
16363  self.session = session
16364  self.dashboard_id = dashboard_id
16365  self.groups = groups
16366  self.objects = objects
16367  self.permissions = permissions
16368  self.grant_role = grant_role

Member Function Documentation

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

Definition at line 16470 of file Heavy.py.

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

Definition at line 16473 of file Heavy.py.

16474  def __ne__(self, other):
16475  return not (self == other)
16476 all_structs.append(share_dashboard_args)
share_dashboard_args.thrift_spec = (
def heavydb.thrift.Heavy.share_dashboard_args.__repr__ (   self)

Definition at line 16465 of file Heavy.py.

16466  def __repr__(self):
16467  L = ['%s=%r' % (key, value)
16468  for key, value in self.__dict__.items()]
16469  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 16369 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.

16370  def read(self, iprot):
16371  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16372  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16373  return
16374  iprot.readStructBegin()
16375  while True:
16376  (fname, ftype, fid) = iprot.readFieldBegin()
16377  if ftype == TType.STOP:
16378  break
16379  if fid == 1:
16380  if ftype == TType.STRING:
16381  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
16382  else:
16383  iprot.skip(ftype)
16384  elif fid == 2:
16385  if ftype == TType.I32:
16386  self.dashboard_id = iprot.readI32()
16387  else:
16388  iprot.skip(ftype)
16389  elif fid == 3:
16390  if ftype == TType.LIST:
16391  self.groups = []
16392  (_etype442, _size439) = iprot.readListBegin()
16393  for _i443 in range(_size439):
16394  _elem444 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
16395  self.groups.append(_elem444)
16396  iprot.readListEnd()
16397  else:
16398  iprot.skip(ftype)
16399  elif fid == 4:
16400  if ftype == TType.LIST:
16401  self.objects = []
16402  (_etype448, _size445) = iprot.readListBegin()
16403  for _i449 in range(_size445):
16404  _elem450 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
16405  self.objects.append(_elem450)
16406  iprot.readListEnd()
16407  else:
16408  iprot.skip(ftype)
16409  elif fid == 5:
16410  if ftype == TType.STRUCT:
16411  self.permissions = TDashboardPermissions()
16412  self.permissions.read(iprot)
16413  else:
16414  iprot.skip(ftype)
16415  elif fid == 6:
16416  if ftype == TType.BOOL:
16417  self.grant_role = iprot.readBool()
16418  else:
16419  iprot.skip(ftype)
16420  else:
16421  iprot.skip(ftype)
16422  iprot.readFieldEnd()
16423  iprot.readStructEnd()
def heavydb.thrift.Heavy.share_dashboard_args.validate (   self)

Definition at line 16462 of file Heavy.py.

16463  def validate(self):
16464  return
def heavydb.thrift.Heavy.share_dashboard_args.write (   self,
  oprot 
)

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

16425  def write(self, oprot):
16426  if oprot._fast_encode is not None and self.thrift_spec is not None:
16427  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16428  return
16429  oprot.writeStructBegin('share_dashboard_args')
16430  if self.session is not None:
16431  oprot.writeFieldBegin('session', TType.STRING, 1)
16432  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
16433  oprot.writeFieldEnd()
16434  if self.dashboard_id is not None:
16435  oprot.writeFieldBegin('dashboard_id', TType.I32, 2)
16436  oprot.writeI32(self.dashboard_id)
16437  oprot.writeFieldEnd()
16438  if self.groups is not None:
16439  oprot.writeFieldBegin('groups', TType.LIST, 3)
16440  oprot.writeListBegin(TType.STRING, len(self.groups))
16441  for iter451 in self.groups:
16442  oprot.writeString(iter451.encode('utf-8') if sys.version_info[0] == 2 else iter451)
16443  oprot.writeListEnd()
16444  oprot.writeFieldEnd()
16445  if self.objects is not None:
16446  oprot.writeFieldBegin('objects', TType.LIST, 4)
16447  oprot.writeListBegin(TType.STRING, len(self.objects))
16448  for iter452 in self.objects:
16449  oprot.writeString(iter452.encode('utf-8') if sys.version_info[0] == 2 else iter452)
16450  oprot.writeListEnd()
16451  oprot.writeFieldEnd()
16452  if self.permissions is not None:
16453  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
16454  self.permissions.write(oprot)
16455  oprot.writeFieldEnd()
16456  if self.grant_role is not None:
16457  oprot.writeFieldBegin('grant_role', TType.BOOL, 6)
16458  oprot.writeBool(self.grant_role)
16459  oprot.writeFieldEnd()
16460  oprot.writeFieldStop()
16461  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.share_dashboard_args.__dict__
private

Definition at line 16471 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.share_dashboard_args.dashboard_id

Definition at line 16363 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 16367 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 16364 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 16365 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 16366 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 16362 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_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.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.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_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(), 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: