OmniSciDB  a575cb28ea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.share_dashboard_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.share_dashboard_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.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 13309 of file OmniSci.py.

Constructor & Destructor Documentation

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

Definition at line 13322 of file OmniSci.py.

13323  def __init__(self, session=None, dashboard_id=None, groups=None, objects=None, permissions=None, grant_role=False,):
13324  self.session = session
13325  self.dashboard_id = dashboard_id
13326  self.groups = groups
13327  self.objects = objects
13328  self.permissions = permissions
13329  self.grant_role = grant_role

Member Function Documentation

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

Definition at line 13431 of file OmniSci.py.

13432  def __eq__(self, other):
13433  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.share_dashboard_args.__ne__ (   self,
  other 
)

Definition at line 13434 of file OmniSci.py.

13435  def __ne__(self, other):
13436  return not (self == other)
13437 all_structs.append(share_dashboard_args)
share_dashboard_args.thrift_spec = (
def omnisci.thrift.OmniSci.share_dashboard_args.__repr__ (   self)

Definition at line 13426 of file OmniSci.py.

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

Definition at line 13330 of file OmniSci.py.

References omnisci.thrift.OmniSci.get_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.delete_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.share_dashboard_args.grant_role, omnisci.thrift.OmniSci.share_dashboards_args.groups, omnisci.thrift.OmniSci.share_dashboard_args.groups, omnisci.thrift.OmniSci.share_dashboard_args.objects, omnisci.thrift.OmniSci.share_dashboards_args.permissions, omnisci.thrift.OmniSci.share_dashboard_args.permissions, com.mapd.calcite.parser.MapDUser.session, com.omnisci.jdbc.OmniSciStatement.session, com.omnisci.jdbc.OmniSciPreparedStatement.session, com.mapd.parser.server.test.TestMapDServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.omnisci.jdbc.OmniSciConnection.session, com.mapd.utility.SQLImporter.session, omnisci.thrift.OmniSci.disconnect_args.session, omnisci.thrift.OmniSci.switch_database_args.session, omnisci.thrift.OmniSci.clone_session_args.session, omnisci.thrift.OmniSci.get_server_status_args.session, omnisci.thrift.OmniSci.get_status_args.session, omnisci.thrift.OmniSci.get_hardware_info_args.session, omnisci.thrift.OmniSci.get_tables_args.session, omnisci.thrift.OmniSci.get_physical_tables_args.session, omnisci.thrift.OmniSci.get_views_args.session, omnisci.thrift.OmniSci.get_tables_meta_args.session, omnisci.thrift.OmniSci.get_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_users_args.session, omnisci.thrift.OmniSci.get_databases_args.session, omnisci.thrift.OmniSci.start_heap_profile_args.session, omnisci.thrift.OmniSci.stop_heap_profile_args.session, omnisci.thrift.OmniSci.get_heap_profile_args.session, omnisci.thrift.OmniSci.get_memory_args.session, omnisci.thrift.OmniSci.clear_cpu_memory_args.session, omnisci.thrift.OmniSci.clear_gpu_memory_args.session, omnisci.thrift.OmniSci.set_table_epoch_args.session, omnisci.thrift.OmniSci.set_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epoch_args.session, omnisci.thrift.OmniSci.get_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epochs_args.session, omnisci.thrift.OmniSci.set_table_epochs_args.session, omnisci.thrift.OmniSci.get_session_info_args.session, omnisci.thrift.OmniSci.sql_execute_args.session, omnisci.thrift.OmniSci.sql_execute_df_args.session, omnisci.thrift.OmniSci.sql_execute_gdf_args.session, omnisci.thrift.OmniSci.deallocate_df_args.session, omnisci.thrift.OmniSci.sql_validate_args.session, omnisci.thrift.OmniSci.get_completion_hints_args.session, omnisci.thrift.OmniSci.set_execution_mode_args.session, omnisci.thrift.OmniSci.render_vega_args.session, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.session, omnisci.thrift.OmniSci.get_dashboard_args.session, omnisci.thrift.OmniSci.get_dashboards_args.session, omnisci.thrift.OmniSci.create_dashboard_args.session, omnisci.thrift.OmniSci.replace_dashboard_args.session, omnisci.thrift.OmniSci.delete_dashboard_args.session, omnisci.thrift.OmniSci.share_dashboards_args.session, omnisci.thrift.OmniSci.delete_dashboards_args.session, and omnisci.thrift.OmniSci.share_dashboard_args.session.

13331  def read(self, iprot):
13332  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
13333  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
13334  return
13335  iprot.readStructBegin()
13336  while True:
13337  (fname, ftype, fid) = iprot.readFieldBegin()
13338  if ftype == TType.STOP:
13339  break
13340  if fid == 1:
13341  if ftype == TType.STRING:
13342  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
13343  else:
13344  iprot.skip(ftype)
13345  elif fid == 2:
13346  if ftype == TType.I32:
13347  self.dashboard_id = iprot.readI32()
13348  else:
13349  iprot.skip(ftype)
13350  elif fid == 3:
13351  if ftype == TType.LIST:
13352  self.groups = []
13353  (_etype386, _size383) = iprot.readListBegin()
13354  for _i387 in range(_size383):
13355  _elem388 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
13356  self.groups.append(_elem388)
13357  iprot.readListEnd()
13358  else:
13359  iprot.skip(ftype)
13360  elif fid == 4:
13361  if ftype == TType.LIST:
13362  self.objects = []
13363  (_etype392, _size389) = iprot.readListBegin()
13364  for _i393 in range(_size389):
13365  _elem394 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
13366  self.objects.append(_elem394)
13367  iprot.readListEnd()
13368  else:
13369  iprot.skip(ftype)
13370  elif fid == 5:
13371  if ftype == TType.STRUCT:
13372  self.permissions = TDashboardPermissions()
13373  self.permissions.read(iprot)
13374  else:
13375  iprot.skip(ftype)
13376  elif fid == 6:
13377  if ftype == TType.BOOL:
13378  self.grant_role = iprot.readBool()
13379  else:
13380  iprot.skip(ftype)
13381  else:
13382  iprot.skip(ftype)
13383  iprot.readFieldEnd()
13384  iprot.readStructEnd()
def omnisci.thrift.OmniSci.share_dashboard_args.validate (   self)

Definition at line 13423 of file OmniSci.py.

13424  def validate(self):
13425  return
def omnisci.thrift.OmniSci.share_dashboard_args.write (   self,
  oprot 
)

Definition at line 13385 of file OmniSci.py.

References omnisci.thrift.OmniSci.get_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.delete_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.share_dashboard_args.grant_role, omnisci.thrift.OmniSci.share_dashboards_args.groups, omnisci.thrift.OmniSci.share_dashboard_args.groups, omnisci.thrift.OmniSci.share_dashboard_args.objects, omnisci.thrift.OmniSci.share_dashboards_args.permissions, omnisci.thrift.OmniSci.share_dashboard_args.permissions, com.mapd.calcite.parser.MapDUser.session, com.omnisci.jdbc.OmniSciStatement.session, com.omnisci.jdbc.OmniSciPreparedStatement.session, com.mapd.parser.server.test.TestMapDServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.omnisci.jdbc.OmniSciConnection.session, com.mapd.utility.SQLImporter.session, omnisci.thrift.OmniSci.disconnect_args.session, omnisci.thrift.OmniSci.switch_database_args.session, omnisci.thrift.OmniSci.clone_session_args.session, omnisci.thrift.OmniSci.get_server_status_args.session, omnisci.thrift.OmniSci.get_status_args.session, omnisci.thrift.OmniSci.get_hardware_info_args.session, omnisci.thrift.OmniSci.get_tables_args.session, omnisci.thrift.OmniSci.get_physical_tables_args.session, omnisci.thrift.OmniSci.get_views_args.session, omnisci.thrift.OmniSci.get_tables_meta_args.session, omnisci.thrift.OmniSci.get_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_users_args.session, omnisci.thrift.OmniSci.get_databases_args.session, omnisci.thrift.OmniSci.start_heap_profile_args.session, omnisci.thrift.OmniSci.stop_heap_profile_args.session, omnisci.thrift.OmniSci.get_heap_profile_args.session, omnisci.thrift.OmniSci.get_memory_args.session, omnisci.thrift.OmniSci.clear_cpu_memory_args.session, omnisci.thrift.OmniSci.clear_gpu_memory_args.session, omnisci.thrift.OmniSci.set_table_epoch_args.session, omnisci.thrift.OmniSci.set_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epoch_args.session, omnisci.thrift.OmniSci.get_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epochs_args.session, omnisci.thrift.OmniSci.set_table_epochs_args.session, omnisci.thrift.OmniSci.get_session_info_args.session, omnisci.thrift.OmniSci.sql_execute_args.session, omnisci.thrift.OmniSci.sql_execute_df_args.session, omnisci.thrift.OmniSci.sql_execute_gdf_args.session, omnisci.thrift.OmniSci.deallocate_df_args.session, omnisci.thrift.OmniSci.sql_validate_args.session, omnisci.thrift.OmniSci.get_completion_hints_args.session, omnisci.thrift.OmniSci.set_execution_mode_args.session, omnisci.thrift.OmniSci.render_vega_args.session, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.session, omnisci.thrift.OmniSci.get_dashboard_args.session, omnisci.thrift.OmniSci.get_dashboards_args.session, omnisci.thrift.OmniSci.create_dashboard_args.session, omnisci.thrift.OmniSci.replace_dashboard_args.session, omnisci.thrift.OmniSci.delete_dashboard_args.session, omnisci.thrift.OmniSci.share_dashboards_args.session, omnisci.thrift.OmniSci.delete_dashboards_args.session, and omnisci.thrift.OmniSci.share_dashboard_args.session.

13386  def write(self, oprot):
13387  if oprot._fast_encode is not None and self.thrift_spec is not None:
13388  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
13389  return
13390  oprot.writeStructBegin('share_dashboard_args')
13391  if self.session is not None:
13392  oprot.writeFieldBegin('session', TType.STRING, 1)
13393  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
13394  oprot.writeFieldEnd()
13395  if self.dashboard_id is not None:
13396  oprot.writeFieldBegin('dashboard_id', TType.I32, 2)
13397  oprot.writeI32(self.dashboard_id)
13398  oprot.writeFieldEnd()
13399  if self.groups is not None:
13400  oprot.writeFieldBegin('groups', TType.LIST, 3)
13401  oprot.writeListBegin(TType.STRING, len(self.groups))
13402  for iter395 in self.groups:
13403  oprot.writeString(iter395.encode('utf-8') if sys.version_info[0] == 2 else iter395)
13404  oprot.writeListEnd()
13405  oprot.writeFieldEnd()
13406  if self.objects is not None:
13407  oprot.writeFieldBegin('objects', TType.LIST, 4)
13408  oprot.writeListBegin(TType.STRING, len(self.objects))
13409  for iter396 in self.objects:
13410  oprot.writeString(iter396.encode('utf-8') if sys.version_info[0] == 2 else iter396)
13411  oprot.writeListEnd()
13412  oprot.writeFieldEnd()
13413  if self.permissions is not None:
13414  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
13415  self.permissions.write(oprot)
13416  oprot.writeFieldEnd()
13417  if self.grant_role is not None:
13418  oprot.writeFieldBegin('grant_role', TType.BOOL, 6)
13419  oprot.writeBool(self.grant_role)
13420  oprot.writeFieldEnd()
13421  oprot.writeFieldStop()
13422  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.share_dashboard_args.__dict__
private

Definition at line 13432 of file OmniSci.py.

omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id

Definition at line 13324 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.share_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboard_args.read(), omnisci.thrift.OmniSci.get_dashboard_grantees_args.read(), omnisci.thrift.ttypes.TDashboard.write(), omnisci.thrift.OmniSci.share_dashboard_args.write(), omnisci.thrift.OmniSci.unshare_dashboard_args.write(), and omnisci.thrift.OmniSci.get_dashboard_grantees_args.write().

omnisci.thrift.OmniSci.share_dashboard_args.grant_role

Definition at line 13328 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboard_args.read(), and omnisci.thrift.OmniSci.share_dashboard_args.write().

omnisci.thrift.OmniSci.share_dashboard_args.groups

Definition at line 13325 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboards_args.read(), omnisci.thrift.OmniSci.share_dashboard_args.write(), omnisci.thrift.OmniSci.unshare_dashboard_args.write(), and omnisci.thrift.OmniSci.unshare_dashboards_args.write().

omnisci.thrift.OmniSci.share_dashboard_args.objects

Definition at line 13326 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboard_args.read(), omnisci.thrift.OmniSci.share_dashboard_args.write(), and omnisci.thrift.OmniSci.unshare_dashboard_args.write().

omnisci.thrift.OmniSci.share_dashboard_args.permissions

Definition at line 13327 of file OmniSci.py.

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

omnisci.thrift.OmniSci.share_dashboard_args.session

Definition at line 13323 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboards_args.read(), omnisci.thrift.OmniSci.get_dashboard_grantees_args.read(), omnisci.thrift.OmniSci.get_link_view_args.read(), omnisci.thrift.OmniSci.create_link_args.read(), omnisci.thrift.OmniSci.load_table_binary_args.read(), omnisci.thrift.OmniSci.load_table_binary_columnar_args.read(), omnisci.thrift.OmniSci.load_table_binary_arrow_args.read(), omnisci.thrift.OmniSci.load_table_args.read(), omnisci.thrift.OmniSci.detect_column_types_args.read(), omnisci.thrift.OmniSci.create_table_args.read(), omnisci.thrift.OmniSci.import_table_args.read(), omnisci.thrift.OmniSci.import_geo_table_args.read(), omnisci.thrift.OmniSci.import_table_status_args.read(), omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.read(), omnisci.thrift.OmniSci.get_all_files_in_archive_args.read(), omnisci.thrift.OmniSci.get_layers_in_geo_file_args.read(), omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.read(), omnisci.thrift.OmniSci.check_table_consistency_args.read(), omnisci.thrift.OmniSci.start_render_query_args.read(), omnisci.thrift.OmniSci.insert_data_args.read(), omnisci.thrift.OmniSci.checkpoint_args.read(), omnisci.thrift.OmniSci.get_roles_args.read(), omnisci.thrift.OmniSci.get_db_objects_for_grantee_args.read(), omnisci.thrift.OmniSci.get_db_object_privs_args.read(), omnisci.thrift.OmniSci.get_all_roles_for_user_args.read(), omnisci.thrift.OmniSci.has_role_args.read(), omnisci.thrift.OmniSci.has_object_privilege_args.read(), omnisci.thrift.OmniSci.set_license_key_args.read(), omnisci.thrift.OmniSci.get_license_claims_args.read(), omnisci.thrift.OmniSci.get_device_parameters_args.read(), omnisci.thrift.OmniSci.register_runtime_extension_functions_args.read(), omnisci.thrift.OmniSci.share_dashboard_args.write(), omnisci.thrift.OmniSci.unshare_dashboard_args.write(), omnisci.thrift.OmniSci.unshare_dashboards_args.write(), omnisci.thrift.OmniSci.get_dashboard_grantees_args.write(), omnisci.thrift.OmniSci.get_link_view_args.write(), omnisci.thrift.OmniSci.create_link_args.write(), omnisci.thrift.OmniSci.load_table_binary_args.write(), omnisci.thrift.OmniSci.load_table_binary_columnar_args.write(), omnisci.thrift.OmniSci.load_table_binary_arrow_args.write(), omnisci.thrift.OmniSci.load_table_args.write(), omnisci.thrift.OmniSci.detect_column_types_args.write(), omnisci.thrift.OmniSci.create_table_args.write(), omnisci.thrift.OmniSci.import_table_args.write(), omnisci.thrift.OmniSci.import_geo_table_args.write(), omnisci.thrift.OmniSci.import_table_status_args.write(), omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.write(), omnisci.thrift.OmniSci.get_all_files_in_archive_args.write(), omnisci.thrift.OmniSci.get_layers_in_geo_file_args.write(), omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.write(), omnisci.thrift.OmniSci.check_table_consistency_args.write(), omnisci.thrift.OmniSci.start_render_query_args.write(), omnisci.thrift.OmniSci.insert_data_args.write(), omnisci.thrift.OmniSci.checkpoint_args.write(), omnisci.thrift.OmniSci.get_roles_args.write(), omnisci.thrift.OmniSci.get_db_objects_for_grantee_args.write(), omnisci.thrift.OmniSci.get_db_object_privs_args.write(), omnisci.thrift.OmniSci.get_all_roles_for_user_args.write(), omnisci.thrift.OmniSci.has_role_args.write(), omnisci.thrift.OmniSci.has_object_privilege_args.write(), omnisci.thrift.OmniSci.set_license_key_args.write(), omnisci.thrift.OmniSci.get_license_claims_args.write(), omnisci.thrift.OmniSci.get_device_parameters_args.write(), and omnisci.thrift.OmniSci.register_runtime_extension_functions_args.write().


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