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

Public Member Functions

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

Public Attributes

 session
 
 db_id
 
 table_id
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - db_id
 - table_id

Definition at line 17167 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.checkpoint_args.__init__ (   self,
  session = None,
  db_id = None,
  table_id = None 
)

Definition at line 17177 of file OmniSci.py.

17178  def __init__(self, session=None, db_id=None, table_id=None,):
17179  self.session = session
17180  self.db_id = db_id
17181  self.table_id = table_id

Member Function Documentation

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

Definition at line 17239 of file OmniSci.py.

17240  def __eq__(self, other):
17241  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.checkpoint_args.__ne__ (   self,
  other 
)

Definition at line 17242 of file OmniSci.py.

17243  def __ne__(self, other):
17244  return not (self == other)
17245 all_structs.append(checkpoint_args)
checkpoint_args.thrift_spec = (
def omnisci.thrift.OmniSci.checkpoint_args.__repr__ (   self)

Definition at line 17234 of file OmniSci.py.

17235  def __repr__(self):
17236  L = ['%s=%r' % (key, value)
17237  for key, value in self.__dict__.items()]
17238  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.checkpoint_args.read (   self,
  iprot 
)

Definition at line 17182 of file OmniSci.py.

References foreign_storage::csv_file_buffer_parser::ParseBufferRequest.db_id, omnisci.thrift.OmniSci.set_table_epoch_args.db_id, omnisci.thrift.OmniSci.get_table_epoch_args.db_id, omnisci.thrift.OmniSci.checkpoint_args.db_id, 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, omnisci.thrift.OmniSci.share_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboards_args.session, omnisci.thrift.OmniSci.get_dashboard_grantees_args.session, omnisci.thrift.OmniSci.get_link_view_args.session, omnisci.thrift.OmniSci.create_link_args.session, omnisci.thrift.OmniSci.load_table_binary_args.session, omnisci.thrift.OmniSci.load_table_binary_columnar_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, omnisci.thrift.OmniSci.detect_column_types_args.session, omnisci.thrift.OmniSci.create_table_args.session, omnisci.thrift.OmniSci.import_table_args.session, omnisci.thrift.OmniSci.import_geo_table_args.session, omnisci.thrift.OmniSci.import_table_status_args.session, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.session, omnisci.thrift.OmniSci.get_all_files_in_archive_args.session, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.session, omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.session, omnisci.thrift.OmniSci.check_table_consistency_args.session, omnisci.thrift.OmniSci.start_render_query_args.session, omnisci.thrift.OmniSci.insert_data_args.session, omnisci.thrift.OmniSci.checkpoint_args.session, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, and omnisci.thrift.OmniSci.checkpoint_args.table_id.

17183  def read(self, iprot):
17184  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17185  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17186  return
17187  iprot.readStructBegin()
17188  while True:
17189  (fname, ftype, fid) = iprot.readFieldBegin()
17190  if ftype == TType.STOP:
17191  break
17192  if fid == 1:
17193  if ftype == TType.STRING:
17194  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17195  else:
17196  iprot.skip(ftype)
17197  elif fid == 2:
17198  if ftype == TType.I32:
17199  self.db_id = iprot.readI32()
17200  else:
17201  iprot.skip(ftype)
17202  elif fid == 3:
17203  if ftype == TType.I32:
17204  self.table_id = iprot.readI32()
17205  else:
17206  iprot.skip(ftype)
17207  else:
17208  iprot.skip(ftype)
17209  iprot.readFieldEnd()
17210  iprot.readStructEnd()
def omnisci.thrift.OmniSci.checkpoint_args.validate (   self)

Definition at line 17231 of file OmniSci.py.

17232  def validate(self):
17233  return
def omnisci.thrift.OmniSci.checkpoint_args.write (   self,
  oprot 
)

Definition at line 17211 of file OmniSci.py.

References foreign_storage::csv_file_buffer_parser::ParseBufferRequest.db_id, omnisci.thrift.OmniSci.set_table_epoch_args.db_id, omnisci.thrift.OmniSci.get_table_epoch_args.db_id, omnisci.thrift.OmniSci.checkpoint_args.db_id, 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, omnisci.thrift.OmniSci.share_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboards_args.session, omnisci.thrift.OmniSci.get_dashboard_grantees_args.session, omnisci.thrift.OmniSci.get_link_view_args.session, omnisci.thrift.OmniSci.create_link_args.session, omnisci.thrift.OmniSci.load_table_binary_args.session, omnisci.thrift.OmniSci.load_table_binary_columnar_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, omnisci.thrift.OmniSci.detect_column_types_args.session, omnisci.thrift.OmniSci.create_table_args.session, omnisci.thrift.OmniSci.import_table_args.session, omnisci.thrift.OmniSci.import_geo_table_args.session, omnisci.thrift.OmniSci.import_table_status_args.session, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.session, omnisci.thrift.OmniSci.get_all_files_in_archive_args.session, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.session, omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.session, omnisci.thrift.OmniSci.check_table_consistency_args.session, omnisci.thrift.OmniSci.start_render_query_args.session, omnisci.thrift.OmniSci.insert_data_args.session, omnisci.thrift.OmniSci.checkpoint_args.session, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, and omnisci.thrift.OmniSci.checkpoint_args.table_id.

17212  def write(self, oprot):
17213  if oprot._fast_encode is not None and self.thrift_spec is not None:
17214  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17215  return
17216  oprot.writeStructBegin('checkpoint_args')
17217  if self.session is not None:
17218  oprot.writeFieldBegin('session', TType.STRING, 1)
17219  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
17220  oprot.writeFieldEnd()
17221  if self.db_id is not None:
17222  oprot.writeFieldBegin('db_id', TType.I32, 2)
17223  oprot.writeI32(self.db_id)
17224  oprot.writeFieldEnd()
17225  if self.table_id is not None:
17226  oprot.writeFieldBegin('table_id', TType.I32, 3)
17227  oprot.writeI32(self.table_id)
17228  oprot.writeFieldEnd()
17229  oprot.writeFieldStop()
17230  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.checkpoint_args.__dict__
private

Definition at line 17240 of file OmniSci.py.

omnisci.thrift.OmniSci.checkpoint_args.db_id

Definition at line 17179 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TInsertData.read(), omnisci.thrift.OmniSci.checkpoint_args.read(), omnisci.thrift.ttypes.TInsertData.write(), and omnisci.thrift.OmniSci.checkpoint_args.write().

omnisci.thrift.OmniSci.checkpoint_args.session

Definition at line 17178 of file OmniSci.py.

Referenced by 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.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().

omnisci.thrift.OmniSci.checkpoint_args.table_id

Definition at line 17180 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TPixelTableRowResult.read(), omnisci.thrift.ttypes.TTableMeta.read(), omnisci.thrift.ttypes.TColumnRange.read(), omnisci.thrift.ttypes.TTableGeneration.read(), omnisci.thrift.ttypes.TInsertData.read(), omnisci.thrift.OmniSci.checkpoint_args.read(), omnisci.thrift.ttypes.TPixelTableRowResult.write(), omnisci.thrift.ttypes.TTableMeta.write(), omnisci.thrift.ttypes.TColumnRange.write(), omnisci.thrift.ttypes.TTableGeneration.write(), omnisci.thrift.ttypes.TInsertData.write(), and omnisci.thrift.OmniSci.checkpoint_args.write().


The documentation for this class was generated from the following file: