OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 15485 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 15498 of file OmniSci.py.

15499  def __init__(self, session=None, dashboard_id=None, groups=None, objects=None, permissions=None, grant_role=False,):
15500  self.session = session
15501  self.dashboard_id = dashboard_id
15502  self.groups = groups
15503  self.objects = objects
15504  self.permissions = permissions
15505  self.grant_role = grant_role

Member Function Documentation

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

Definition at line 15607 of file OmniSci.py.

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

Definition at line 15610 of file OmniSci.py.

15611  def __ne__(self, other):
15612  return not (self == other)
15613 all_structs.append(share_dashboard_args)
share_dashboard_args.thrift_spec = (
def omnisci.thrift.OmniSci.share_dashboard_args.__repr__ (   self)

Definition at line 15602 of file OmniSci.py.

15603  def __repr__(self):
15604  L = ['%s=%r' % (key, value)
15605  for key, value in self.__dict__.items()]
15606  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 15506 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.mapd.utility.SQLImporter.session, com.omnisci.jdbc.OmniSciConnection.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_tables_for_database_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_table_details_for_database_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_for_database_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.create_custom_expression_args.session, omnisci.thrift.OmniSci.get_custom_expressions_args.session, omnisci.thrift.OmniSci.update_custom_expression_args.session, omnisci.thrift.OmniSci.delete_custom_expressions_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.

15507  def read(self, iprot):
15508  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
15509  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
15510  return
15511  iprot.readStructBegin()
15512  while True:
15513  (fname, ftype, fid) = iprot.readFieldBegin()
15514  if ftype == TType.STOP:
15515  break
15516  if fid == 1:
15517  if ftype == TType.STRING:
15518  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
15519  else:
15520  iprot.skip(ftype)
15521  elif fid == 2:
15522  if ftype == TType.I32:
15523  self.dashboard_id = iprot.readI32()
15524  else:
15525  iprot.skip(ftype)
15526  elif fid == 3:
15527  if ftype == TType.LIST:
15528  self.groups = []
15529  (_etype414, _size411) = iprot.readListBegin()
15530  for _i415 in range(_size411):
15531  _elem416 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
15532  self.groups.append(_elem416)
15533  iprot.readListEnd()
15534  else:
15535  iprot.skip(ftype)
15536  elif fid == 4:
15537  if ftype == TType.LIST:
15538  self.objects = []
15539  (_etype420, _size417) = iprot.readListBegin()
15540  for _i421 in range(_size417):
15541  _elem422 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
15542  self.objects.append(_elem422)
15543  iprot.readListEnd()
15544  else:
15545  iprot.skip(ftype)
15546  elif fid == 5:
15547  if ftype == TType.STRUCT:
15548  self.permissions = TDashboardPermissions()
15549  self.permissions.read(iprot)
15550  else:
15551  iprot.skip(ftype)
15552  elif fid == 6:
15553  if ftype == TType.BOOL:
15554  self.grant_role = iprot.readBool()
15555  else:
15556  iprot.skip(ftype)
15557  else:
15558  iprot.skip(ftype)
15559  iprot.readFieldEnd()
15560  iprot.readStructEnd()
def omnisci.thrift.OmniSci.share_dashboard_args.validate (   self)

Definition at line 15599 of file OmniSci.py.

15600  def validate(self):
15601  return
def omnisci.thrift.OmniSci.share_dashboard_args.write (   self,
  oprot 
)

Definition at line 15561 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.mapd.utility.SQLImporter.session, com.omnisci.jdbc.OmniSciConnection.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_tables_for_database_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_table_details_for_database_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_for_database_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.create_custom_expression_args.session, omnisci.thrift.OmniSci.get_custom_expressions_args.session, omnisci.thrift.OmniSci.update_custom_expression_args.session, omnisci.thrift.OmniSci.delete_custom_expressions_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.

15562  def write(self, oprot):
15563  if oprot._fast_encode is not None and self.thrift_spec is not None:
15564  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
15565  return
15566  oprot.writeStructBegin('share_dashboard_args')
15567  if self.session is not None:
15568  oprot.writeFieldBegin('session', TType.STRING, 1)
15569  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
15570  oprot.writeFieldEnd()
15571  if self.dashboard_id is not None:
15572  oprot.writeFieldBegin('dashboard_id', TType.I32, 2)
15573  oprot.writeI32(self.dashboard_id)
15574  oprot.writeFieldEnd()
15575  if self.groups is not None:
15576  oprot.writeFieldBegin('groups', TType.LIST, 3)
15577  oprot.writeListBegin(TType.STRING, len(self.groups))
15578  for iter423 in self.groups:
15579  oprot.writeString(iter423.encode('utf-8') if sys.version_info[0] == 2 else iter423)
15580  oprot.writeListEnd()
15581  oprot.writeFieldEnd()
15582  if self.objects is not None:
15583  oprot.writeFieldBegin('objects', TType.LIST, 4)
15584  oprot.writeListBegin(TType.STRING, len(self.objects))
15585  for iter424 in self.objects:
15586  oprot.writeString(iter424.encode('utf-8') if sys.version_info[0] == 2 else iter424)
15587  oprot.writeListEnd()
15588  oprot.writeFieldEnd()
15589  if self.permissions is not None:
15590  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
15591  self.permissions.write(oprot)
15592  oprot.writeFieldEnd()
15593  if self.grant_role is not None:
15594  oprot.writeFieldBegin('grant_role', TType.BOOL, 6)
15595  oprot.writeBool(self.grant_role)
15596  oprot.writeFieldEnd()
15597  oprot.writeFieldStop()
15598  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.share_dashboard_args.__dict__
private

Definition at line 15608 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id

Definition at line 15500 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 15504 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 15501 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 15502 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 15503 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 15499 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_columnar_polys_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_columnar_polys_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: