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

Public Member Functions

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

Public Attributes

 session
 
 dashboard_id
 
 dashboard_name
 
 dashboard_owner
 
 dashboard_state
 
 image_hash
 
 dashboard_metadata
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - dashboard_id
 - dashboard_name
 - dashboard_owner
 - dashboard_state
 - image_hash
 - dashboard_metadata

Definition at line 12652 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.replace_dashboard_args.__init__ (   self,
  session = None,
  dashboard_id = None,
  dashboard_name = None,
  dashboard_owner = None,
  dashboard_state = None,
  image_hash = None,
  dashboard_metadata = None 
)

Definition at line 12666 of file OmniSci.py.

12667  def __init__(self, session=None, dashboard_id=None, dashboard_name=None, dashboard_owner=None, dashboard_state=None, image_hash=None, dashboard_metadata=None,):
12668  self.session = session
12669  self.dashboard_id = dashboard_id
12670  self.dashboard_name = dashboard_name
12671  self.dashboard_owner = dashboard_owner
12672  self.dashboard_state = dashboard_state
12673  self.image_hash = image_hash
12674  self.dashboard_metadata = dashboard_metadata

Member Function Documentation

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

Definition at line 12768 of file OmniSci.py.

12769  def __eq__(self, other):
12770  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.replace_dashboard_args.__ne__ (   self,
  other 
)

Definition at line 12771 of file OmniSci.py.

12772  def __ne__(self, other):
12773  return not (self == other)
12774 all_structs.append(replace_dashboard_args)
replace_dashboard_args.thrift_spec = (
def omnisci.thrift.OmniSci.replace_dashboard_args.__repr__ (   self)

Definition at line 12763 of file OmniSci.py.

12764  def __repr__(self):
12765  L = ['%s=%r' % (key, value)
12766  for key, value in self.__dict__.items()]
12767  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.replace_dashboard_args.read (   self,
  iprot 
)

Definition at line 12675 of file OmniSci.py.

References omnisci.thrift.OmniSci.get_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_metadata, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_metadata, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_name, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_name, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_owner, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_state, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_state, omnisci.thrift.OmniSci.create_dashboard_args.image_hash, omnisci.thrift.OmniSci.replace_dashboard_args.image_hash, 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, and omnisci.thrift.OmniSci.replace_dashboard_args.session.

12676  def read(self, iprot):
12677  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
12678  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
12679  return
12680  iprot.readStructBegin()
12681  while True:
12682  (fname, ftype, fid) = iprot.readFieldBegin()
12683  if ftype == TType.STOP:
12684  break
12685  if fid == 1:
12686  if ftype == TType.STRING:
12687  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12688  else:
12689  iprot.skip(ftype)
12690  elif fid == 2:
12691  if ftype == TType.I32:
12692  self.dashboard_id = iprot.readI32()
12693  else:
12694  iprot.skip(ftype)
12695  elif fid == 3:
12696  if ftype == TType.STRING:
12697  self.dashboard_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12698  else:
12699  iprot.skip(ftype)
12700  elif fid == 4:
12701  if ftype == TType.STRING:
12702  self.dashboard_owner = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12703  else:
12704  iprot.skip(ftype)
12705  elif fid == 5:
12706  if ftype == TType.STRING:
12707  self.dashboard_state = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12708  else:
12709  iprot.skip(ftype)
12710  elif fid == 6:
12711  if ftype == TType.STRING:
12712  self.image_hash = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12713  else:
12714  iprot.skip(ftype)
12715  elif fid == 7:
12716  if ftype == TType.STRING:
12717  self.dashboard_metadata = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12718  else:
12719  iprot.skip(ftype)
12720  else:
12721  iprot.skip(ftype)
12722  iprot.readFieldEnd()
12723  iprot.readStructEnd()
def omnisci.thrift.OmniSci.replace_dashboard_args.validate (   self)

Definition at line 12760 of file OmniSci.py.

12761  def validate(self):
12762  return
def omnisci.thrift.OmniSci.replace_dashboard_args.write (   self,
  oprot 
)

Definition at line 12724 of file OmniSci.py.

References omnisci.thrift.OmniSci.get_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_metadata, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_metadata, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_name, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_name, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_owner, omnisci.thrift.OmniSci.create_dashboard_args.dashboard_state, omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_state, omnisci.thrift.OmniSci.create_dashboard_args.image_hash, omnisci.thrift.OmniSci.replace_dashboard_args.image_hash, 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, and omnisci.thrift.OmniSci.replace_dashboard_args.session.

12725  def write(self, oprot):
12726  if oprot._fast_encode is not None and self.thrift_spec is not None:
12727  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
12728  return
12729  oprot.writeStructBegin('replace_dashboard_args')
12730  if self.session is not None:
12731  oprot.writeFieldBegin('session', TType.STRING, 1)
12732  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
12733  oprot.writeFieldEnd()
12734  if self.dashboard_id is not None:
12735  oprot.writeFieldBegin('dashboard_id', TType.I32, 2)
12736  oprot.writeI32(self.dashboard_id)
12737  oprot.writeFieldEnd()
12738  if self.dashboard_name is not None:
12739  oprot.writeFieldBegin('dashboard_name', TType.STRING, 3)
12740  oprot.writeString(self.dashboard_name.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_name)
12741  oprot.writeFieldEnd()
12742  if self.dashboard_owner is not None:
12743  oprot.writeFieldBegin('dashboard_owner', TType.STRING, 4)
12744  oprot.writeString(self.dashboard_owner.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_owner)
12745  oprot.writeFieldEnd()
12746  if self.dashboard_state is not None:
12747  oprot.writeFieldBegin('dashboard_state', TType.STRING, 5)
12748  oprot.writeString(self.dashboard_state.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_state)
12749  oprot.writeFieldEnd()
12750  if self.image_hash is not None:
12751  oprot.writeFieldBegin('image_hash', TType.STRING, 6)
12752  oprot.writeString(self.image_hash.encode('utf-8') if sys.version_info[0] == 2 else self.image_hash)
12753  oprot.writeFieldEnd()
12754  if self.dashboard_metadata is not None:
12755  oprot.writeFieldBegin('dashboard_metadata', TType.STRING, 7)
12756  oprot.writeString(self.dashboard_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.dashboard_metadata)
12757  oprot.writeFieldEnd()
12758  oprot.writeFieldStop()
12759  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.replace_dashboard_args.__dict__
private

Definition at line 12769 of file OmniSci.py.

omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_id

Definition at line 12668 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.OmniSci.delete_dashboard_args.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.replace_dashboard_args.write(), omnisci.thrift.OmniSci.delete_dashboard_args.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.replace_dashboard_args.dashboard_metadata

Definition at line 12673 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.ttypes.TDashboard.write(), and omnisci.thrift.OmniSci.replace_dashboard_args.write().

omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_name

Definition at line 12669 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.ttypes.TDashboard.write(), and omnisci.thrift.OmniSci.replace_dashboard_args.write().

omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_owner

Definition at line 12670 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.ttypes.TDashboard.write(), and omnisci.thrift.OmniSci.replace_dashboard_args.write().

omnisci.thrift.OmniSci.replace_dashboard_args.dashboard_state

Definition at line 12671 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.ttypes.TDashboard.write(), and omnisci.thrift.OmniSci.replace_dashboard_args.write().

omnisci.thrift.OmniSci.replace_dashboard_args.image_hash

Definition at line 12672 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TFrontendView.read(), omnisci.thrift.ttypes.TDashboard.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.ttypes.TFrontendView.write(), omnisci.thrift.ttypes.TDashboard.write(), and omnisci.thrift.OmniSci.replace_dashboard_args.write().

omnisci.thrift.OmniSci.replace_dashboard_args.session

Definition at line 12667 of file OmniSci.py.

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