OmniSciDB  340b00dbf6
 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 12859 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 12872 of file OmniSci.py.

12873  def __init__(self, session=None, dashboard_id=None, groups=None, objects=None, permissions=None, grant_role=False,):
12874  self.session = session
12875  self.dashboard_id = dashboard_id
12876  self.groups = groups
12877  self.objects = objects
12878  self.permissions = permissions
12879  self.grant_role = grant_role

Member Function Documentation

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

Definition at line 12981 of file OmniSci.py.

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

Definition at line 12984 of file OmniSci.py.

12985  def __ne__(self, other):
12986  return not (self == other)
12987 all_structs.append(share_dashboard_args)
share_dashboard_args.thrift_spec = (
def omnisci.thrift.OmniSci.share_dashboard_args.__repr__ (   self)

Definition at line 12976 of file OmniSci.py.

12977  def __repr__(self):
12978  L = ['%s=%r' % (key, value)
12979  for key, value in self.__dict__.items()]
12980  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 12880 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_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.

12881  def read(self, iprot):
12882  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
12883  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
12884  return
12885  iprot.readStructBegin()
12886  while True:
12887  (fname, ftype, fid) = iprot.readFieldBegin()
12888  if ftype == TType.STOP:
12889  break
12890  if fid == 1:
12891  if ftype == TType.STRING:
12892  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12893  else:
12894  iprot.skip(ftype)
12895  elif fid == 2:
12896  if ftype == TType.I32:
12897  self.dashboard_id = iprot.readI32()
12898  else:
12899  iprot.skip(ftype)
12900  elif fid == 3:
12901  if ftype == TType.LIST:
12902  self.groups = []
12903  (_etype372, _size369) = iprot.readListBegin()
12904  for _i373 in range(_size369):
12905  _elem374 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12906  self.groups.append(_elem374)
12907  iprot.readListEnd()
12908  else:
12909  iprot.skip(ftype)
12910  elif fid == 4:
12911  if ftype == TType.LIST:
12912  self.objects = []
12913  (_etype378, _size375) = iprot.readListBegin()
12914  for _i379 in range(_size375):
12915  _elem380 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12916  self.objects.append(_elem380)
12917  iprot.readListEnd()
12918  else:
12919  iprot.skip(ftype)
12920  elif fid == 5:
12921  if ftype == TType.STRUCT:
12922  self.permissions = TDashboardPermissions()
12923  self.permissions.read(iprot)
12924  else:
12925  iprot.skip(ftype)
12926  elif fid == 6:
12927  if ftype == TType.BOOL:
12928  self.grant_role = iprot.readBool()
12929  else:
12930  iprot.skip(ftype)
12931  else:
12932  iprot.skip(ftype)
12933  iprot.readFieldEnd()
12934  iprot.readStructEnd()
def omnisci.thrift.OmniSci.share_dashboard_args.validate (   self)

Definition at line 12973 of file OmniSci.py.

12974  def validate(self):
12975  return
def omnisci.thrift.OmniSci.share_dashboard_args.write (   self,
  oprot 
)

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

12936  def write(self, oprot):
12937  if oprot._fast_encode is not None and self.thrift_spec is not None:
12938  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
12939  return
12940  oprot.writeStructBegin('share_dashboard_args')
12941  if self.session is not None:
12942  oprot.writeFieldBegin('session', TType.STRING, 1)
12943  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
12944  oprot.writeFieldEnd()
12945  if self.dashboard_id is not None:
12946  oprot.writeFieldBegin('dashboard_id', TType.I32, 2)
12947  oprot.writeI32(self.dashboard_id)
12948  oprot.writeFieldEnd()
12949  if self.groups is not None:
12950  oprot.writeFieldBegin('groups', TType.LIST, 3)
12951  oprot.writeListBegin(TType.STRING, len(self.groups))
12952  for iter381 in self.groups:
12953  oprot.writeString(iter381.encode('utf-8') if sys.version_info[0] == 2 else iter381)
12954  oprot.writeListEnd()
12955  oprot.writeFieldEnd()
12956  if self.objects is not None:
12957  oprot.writeFieldBegin('objects', TType.LIST, 4)
12958  oprot.writeListBegin(TType.STRING, len(self.objects))
12959  for iter382 in self.objects:
12960  oprot.writeString(iter382.encode('utf-8') if sys.version_info[0] == 2 else iter382)
12961  oprot.writeListEnd()
12962  oprot.writeFieldEnd()
12963  if self.permissions is not None:
12964  oprot.writeFieldBegin('permissions', TType.STRUCT, 5)
12965  self.permissions.write(oprot)
12966  oprot.writeFieldEnd()
12967  if self.grant_role is not None:
12968  oprot.writeFieldBegin('grant_role', TType.BOOL, 6)
12969  oprot.writeBool(self.grant_role)
12970  oprot.writeFieldEnd()
12971  oprot.writeFieldStop()
12972  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.share_dashboard_args.__dict__
private

Definition at line 12982 of file OmniSci.py.

omnisci.thrift.OmniSci.share_dashboard_args.dashboard_id

Definition at line 12874 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 12878 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 12875 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 12876 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 12877 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 12873 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: