OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.share_dashboards_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.share_dashboards_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.share_dashboards_args:

Public Member Functions

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

Public Attributes

 session
 
 dashboard_ids
 
 groups
 
 permissions
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - dashboard_ids
 - groups
 - permissions

Definition at line 12536 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.share_dashboards_args.__init__ (   self,
  session = None,
  dashboard_ids = None,
  groups = None,
  permissions = None 
)

Definition at line 12547 of file OmniSci.py.

12548  def __init__(self, session=None, dashboard_ids=None, groups=None, permissions=None,):
12549  self.session = session
12550  self.dashboard_ids = dashboard_ids
12551  self.groups = groups
12552  self.permissions = permissions

Member Function Documentation

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

Definition at line 12636 of file OmniSci.py.

12637  def __eq__(self, other):
12638  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.share_dashboards_args.__ne__ (   self,
  other 
)

Definition at line 12639 of file OmniSci.py.

12640  def __ne__(self, other):
12641  return not (self == other)
12642 all_structs.append(share_dashboards_args)
share_dashboards_args.thrift_spec = (
def omnisci.thrift.OmniSci.share_dashboards_args.__repr__ (   self)

Definition at line 12631 of file OmniSci.py.

12632  def __repr__(self):
12633  L = ['%s=%r' % (key, value)
12634  for key, value in self.__dict__.items()]
12635  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_dashboards_args.read (   self,
  iprot 
)

Definition at line 12553 of file OmniSci.py.

References omnisci.thrift.OmniSci.share_dashboards_args.dashboard_ids, omnisci.thrift.OmniSci.share_dashboards_args.groups, omnisci.thrift.OmniSci.share_dashboards_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_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, and omnisci.thrift.OmniSci.share_dashboards_args.session.

12554  def read(self, iprot):
12555  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
12556  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
12557  return
12558  iprot.readStructBegin()
12559  while True:
12560  (fname, ftype, fid) = iprot.readFieldBegin()
12561  if ftype == TType.STOP:
12562  break
12563  if fid == 1:
12564  if ftype == TType.STRING:
12565  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12566  else:
12567  iprot.skip(ftype)
12568  elif fid == 2:
12569  if ftype == TType.LIST:
12570  self.dashboard_ids = []
12571  (_etype351, _size348) = iprot.readListBegin()
12572  for _i352 in range(_size348):
12573  _elem353 = iprot.readI32()
12574  self.dashboard_ids.append(_elem353)
12575  iprot.readListEnd()
12576  else:
12577  iprot.skip(ftype)
12578  elif fid == 3:
12579  if ftype == TType.LIST:
12580  self.groups = []
12581  (_etype357, _size354) = iprot.readListBegin()
12582  for _i358 in range(_size354):
12583  _elem359 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12584  self.groups.append(_elem359)
12585  iprot.readListEnd()
12586  else:
12587  iprot.skip(ftype)
12588  elif fid == 4:
12589  if ftype == TType.STRUCT:
12590  self.permissions = TDashboardPermissions()
12591  self.permissions.read(iprot)
12592  else:
12593  iprot.skip(ftype)
12594  else:
12595  iprot.skip(ftype)
12596  iprot.readFieldEnd()
12597  iprot.readStructEnd()
def omnisci.thrift.OmniSci.share_dashboards_args.validate (   self)

Definition at line 12628 of file OmniSci.py.

12629  def validate(self):
12630  return
def omnisci.thrift.OmniSci.share_dashboards_args.write (   self,
  oprot 
)

Definition at line 12598 of file OmniSci.py.

References omnisci.thrift.OmniSci.share_dashboards_args.dashboard_ids, omnisci.thrift.OmniSci.share_dashboards_args.groups, omnisci.thrift.OmniSci.share_dashboards_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_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, and omnisci.thrift.OmniSci.share_dashboards_args.session.

12599  def write(self, oprot):
12600  if oprot._fast_encode is not None and self.thrift_spec is not None:
12601  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
12602  return
12603  oprot.writeStructBegin('share_dashboards_args')
12604  if self.session is not None:
12605  oprot.writeFieldBegin('session', TType.STRING, 1)
12606  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
12607  oprot.writeFieldEnd()
12608  if self.dashboard_ids is not None:
12609  oprot.writeFieldBegin('dashboard_ids', TType.LIST, 2)
12610  oprot.writeListBegin(TType.I32, len(self.dashboard_ids))
12611  for iter360 in self.dashboard_ids:
12612  oprot.writeI32(iter360)
12613  oprot.writeListEnd()
12614  oprot.writeFieldEnd()
12615  if self.groups is not None:
12616  oprot.writeFieldBegin('groups', TType.LIST, 3)
12617  oprot.writeListBegin(TType.STRING, len(self.groups))
12618  for iter361 in self.groups:
12619  oprot.writeString(iter361.encode('utf-8') if sys.version_info[0] == 2 else iter361)
12620  oprot.writeListEnd()
12621  oprot.writeFieldEnd()
12622  if self.permissions is not None:
12623  oprot.writeFieldBegin('permissions', TType.STRUCT, 4)
12624  self.permissions.write(oprot)
12625  oprot.writeFieldEnd()
12626  oprot.writeFieldStop()
12627  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.share_dashboards_args.__dict__
private

Definition at line 12637 of file OmniSci.py.

omnisci.thrift.OmniSci.share_dashboards_args.dashboard_ids

Definition at line 12549 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboards_args.read(), omnisci.thrift.OmniSci.delete_dashboards_args.read(), omnisci.thrift.OmniSci.unshare_dashboards_args.read(), omnisci.thrift.OmniSci.share_dashboards_args.write(), omnisci.thrift.OmniSci.delete_dashboards_args.write(), and omnisci.thrift.OmniSci.unshare_dashboards_args.write().

omnisci.thrift.OmniSci.share_dashboards_args.groups

Definition at line 12550 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboards_args.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.share_dashboards_args.write(), 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_dashboards_args.permissions

Definition at line 12551 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboardGrantees.read(), omnisci.thrift.OmniSci.share_dashboards_args.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_dashboards_args.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_dashboards_args.session

Definition at line 12548 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.share_dashboards_args.read(), omnisci.thrift.OmniSci.delete_dashboards_args.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.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_dashboards_args.write(), omnisci.thrift.OmniSci.delete_dashboards_args.write(), 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: