OmniSciDB  8fa3bf436f
 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 12986 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 12997 of file OmniSci.py.

12998  def __init__(self, session=None, dashboard_ids=None, groups=None, permissions=None,):
12999  self.session = session
13000  self.dashboard_ids = dashboard_ids
13001  self.groups = groups
13002  self.permissions = permissions

Member Function Documentation

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

Definition at line 13086 of file OmniSci.py.

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

Definition at line 13089 of file OmniSci.py.

13090  def __ne__(self, other):
13091  return not (self == other)
13092 all_structs.append(share_dashboards_args)
share_dashboards_args.thrift_spec = (
def omnisci.thrift.OmniSci.share_dashboards_args.__repr__ (   self)

Definition at line 13081 of file OmniSci.py.

13082  def __repr__(self):
13083  L = ['%s=%r' % (key, value)
13084  for key, value in self.__dict__.items()]
13085  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 13003 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.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_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, and omnisci.thrift.OmniSci.share_dashboards_args.session.

13004  def read(self, iprot):
13005  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
13006  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
13007  return
13008  iprot.readStructBegin()
13009  while True:
13010  (fname, ftype, fid) = iprot.readFieldBegin()
13011  if ftype == TType.STOP:
13012  break
13013  if fid == 1:
13014  if ftype == TType.STRING:
13015  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
13016  else:
13017  iprot.skip(ftype)
13018  elif fid == 2:
13019  if ftype == TType.LIST:
13020  self.dashboard_ids = []
13021  (_etype365, _size362) = iprot.readListBegin()
13022  for _i366 in range(_size362):
13023  _elem367 = iprot.readI32()
13024  self.dashboard_ids.append(_elem367)
13025  iprot.readListEnd()
13026  else:
13027  iprot.skip(ftype)
13028  elif fid == 3:
13029  if ftype == TType.LIST:
13030  self.groups = []
13031  (_etype371, _size368) = iprot.readListBegin()
13032  for _i372 in range(_size368):
13033  _elem373 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
13034  self.groups.append(_elem373)
13035  iprot.readListEnd()
13036  else:
13037  iprot.skip(ftype)
13038  elif fid == 4:
13039  if ftype == TType.STRUCT:
13040  self.permissions = TDashboardPermissions()
13041  self.permissions.read(iprot)
13042  else:
13043  iprot.skip(ftype)
13044  else:
13045  iprot.skip(ftype)
13046  iprot.readFieldEnd()
13047  iprot.readStructEnd()
def omnisci.thrift.OmniSci.share_dashboards_args.validate (   self)

Definition at line 13078 of file OmniSci.py.

13079  def validate(self):
13080  return
def omnisci.thrift.OmniSci.share_dashboards_args.write (   self,
  oprot 
)

Definition at line 13048 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.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_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, and omnisci.thrift.OmniSci.share_dashboards_args.session.

13049  def write(self, oprot):
13050  if oprot._fast_encode is not None and self.thrift_spec is not None:
13051  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
13052  return
13053  oprot.writeStructBegin('share_dashboards_args')
13054  if self.session is not None:
13055  oprot.writeFieldBegin('session', TType.STRING, 1)
13056  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
13057  oprot.writeFieldEnd()
13058  if self.dashboard_ids is not None:
13059  oprot.writeFieldBegin('dashboard_ids', TType.LIST, 2)
13060  oprot.writeListBegin(TType.I32, len(self.dashboard_ids))
13061  for iter374 in self.dashboard_ids:
13062  oprot.writeI32(iter374)
13063  oprot.writeListEnd()
13064  oprot.writeFieldEnd()
13065  if self.groups is not None:
13066  oprot.writeFieldBegin('groups', TType.LIST, 3)
13067  oprot.writeListBegin(TType.STRING, len(self.groups))
13068  for iter375 in self.groups:
13069  oprot.writeString(iter375.encode('utf-8') if sys.version_info[0] == 2 else iter375)
13070  oprot.writeListEnd()
13071  oprot.writeFieldEnd()
13072  if self.permissions is not None:
13073  oprot.writeFieldBegin('permissions', TType.STRUCT, 4)
13074  self.permissions.write(oprot)
13075  oprot.writeFieldEnd()
13076  oprot.writeFieldStop()
13077  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.share_dashboards_args.__dict__
private

Definition at line 13087 of file OmniSci.py.

omnisci.thrift.OmniSci.share_dashboards_args.dashboard_ids

Definition at line 12999 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 13000 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 13001 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 12998 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: