OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.load_table_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.load_table_args:
+ Collaboration diagram for heavydb.thrift.Heavy.load_table_args:

Public Member Functions

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

Public Attributes

 session
 
 table_name
 
 rows
 
 column_names
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - table_name
 - rows
 - column_names

Definition at line 17902 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.load_table_args.__init__ (   self,
  session = None,
  table_name = None,
  rows = None,
  column_names = [     ] 
)

Definition at line 17914 of file Heavy.py.

17915  ],):
17916  self.session = session
17917  self.table_name = table_name
17918  self.rows = rows
17919  if column_names is self.thrift_spec[4][4]:
17920  column_names = [
17921  ]
17922  self.column_names = column_names

Member Function Documentation

def heavydb.thrift.Heavy.load_table_args.__eq__ (   self,
  other 
)

Definition at line 18006 of file Heavy.py.

18007  def __eq__(self, other):
18008  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.load_table_args.__ne__ (   self,
  other 
)

Definition at line 18009 of file Heavy.py.

18010  def __ne__(self, other):
18011  return not (self == other)
18012 all_structs.append(load_table_args)
load_table_args.thrift_spec = (
def heavydb.thrift.Heavy.load_table_args.__repr__ (   self)

Definition at line 18001 of file Heavy.py.

18002  def __repr__(self):
18003  L = ['%s=%r' % (key, value)
18004  for key, value in self.__dict__.items()]
18005  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 heavydb.thrift.Heavy.load_table_args.read (   self,
  iprot 
)

Definition at line 17923 of file Heavy.py.

References foreign_storage::DataPreview.column_names, heavydb.thrift.Heavy.load_table_binary_args.column_names, heavydb.thrift.Heavy.load_table_binary_columnar_args.column_names, heavydb.thrift.Heavy.load_table_args.column_names, ai.heavy.jdbc.HeavyAIPreparedStatement.rows, import_export::BadRowsTracker.rows, heavydb.thrift.Heavy.load_table_binary_args.rows, heavydb.thrift.Heavy.load_table_args.rows, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, heavydb.thrift.Heavy.sql_execute_args.session, heavydb.thrift.Heavy.sql_execute_df_args.session, heavydb.thrift.Heavy.sql_execute_gdf_args.session, heavydb.thrift.Heavy.deallocate_df_args.session, heavydb.thrift.Heavy.sql_validate_args.session, heavydb.thrift.Heavy.get_completion_hints_args.session, heavydb.thrift.Heavy.set_execution_mode_args.session, heavydb.thrift.Heavy.render_vega_args.session, heavydb.thrift.Heavy.get_result_row_for_pixel_args.session, heavydb.thrift.Heavy.create_custom_expression_args.session, heavydb.thrift.Heavy.get_custom_expressions_args.session, heavydb.thrift.Heavy.update_custom_expression_args.session, heavydb.thrift.Heavy.delete_custom_expressions_args.session, heavydb.thrift.Heavy.get_dashboard_args.session, heavydb.thrift.Heavy.get_dashboards_args.session, heavydb.thrift.Heavy.create_dashboard_args.session, heavydb.thrift.Heavy.replace_dashboard_args.session, heavydb.thrift.Heavy.delete_dashboard_args.session, heavydb.thrift.Heavy.share_dashboards_args.session, heavydb.thrift.Heavy.delete_dashboards_args.session, heavydb.thrift.Heavy.share_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboards_args.session, heavydb.thrift.Heavy.get_dashboard_grantees_args.session, heavydb.thrift.Heavy.get_link_view_args.session, heavydb.thrift.Heavy.create_link_args.session, heavydb.thrift.Heavy.load_table_binary_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, TableMetadata.table_name, AlterTableAlterColumnCommandRecoveryMgr::RecoveryParamFilepathInfo.table_name, create_table.SyntheticTable.table_name, heavydb.thrift.Heavy.get_table_details_args.table_name, heavydb.thrift.Heavy.get_table_details_for_database_args.table_name, heavydb.thrift.Heavy.get_internal_table_details_args.table_name, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.table_name, heavydb.thrift.Heavy.set_table_epoch_by_name_args.table_name, heavydb.thrift.Heavy.get_table_epoch_by_name_args.table_name, heavydb.thrift.Heavy.load_table_binary_args.table_name, heavydb.thrift.Heavy.load_table_binary_columnar_args.table_name, heavydb.thrift.Heavy.load_table_binary_arrow_args.table_name, and heavydb.thrift.Heavy.load_table_args.table_name.

17924  def read(self, iprot):
17925  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17926  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17927  return
17928  iprot.readStructBegin()
17929  while True:
17930  (fname, ftype, fid) = iprot.readFieldBegin()
17931  if ftype == TType.STOP:
17932  break
17933  if fid == 1:
17934  if ftype == TType.STRING:
17935  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17936  else:
17937  iprot.skip(ftype)
17938  elif fid == 2:
17939  if ftype == TType.STRING:
17940  self.table_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17941  else:
17942  iprot.skip(ftype)
17943  elif fid == 3:
17944  if ftype == TType.LIST:
17945  self.rows = []
17946  (_etype519, _size516) = iprot.readListBegin()
17947  for _i520 in range(_size516):
17948  _elem521 = TStringRow()
17949  _elem521.read(iprot)
17950  self.rows.append(_elem521)
17951  iprot.readListEnd()
17952  else:
17953  iprot.skip(ftype)
17954  elif fid == 4:
17955  if ftype == TType.LIST:
17956  self.column_names = []
17957  (_etype525, _size522) = iprot.readListBegin()
17958  for _i526 in range(_size522):
17959  _elem527 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17960  self.column_names.append(_elem527)
17961  iprot.readListEnd()
17962  else:
17963  iprot.skip(ftype)
17964  else:
17965  iprot.skip(ftype)
17966  iprot.readFieldEnd()
17967  iprot.readStructEnd()
def heavydb.thrift.Heavy.load_table_args.validate (   self)

Definition at line 17998 of file Heavy.py.

17999  def validate(self):
18000  return
def heavydb.thrift.Heavy.load_table_args.write (   self,
  oprot 
)

Definition at line 17968 of file Heavy.py.

References foreign_storage::DataPreview.column_names, heavydb.thrift.Heavy.load_table_binary_args.column_names, heavydb.thrift.Heavy.load_table_binary_columnar_args.column_names, heavydb.thrift.Heavy.load_table_args.column_names, ai.heavy.jdbc.HeavyAIPreparedStatement.rows, import_export::BadRowsTracker.rows, heavydb.thrift.Heavy.load_table_binary_args.rows, heavydb.thrift.Heavy.load_table_args.rows, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, heavydb.thrift.Heavy.sql_execute_args.session, heavydb.thrift.Heavy.sql_execute_df_args.session, heavydb.thrift.Heavy.sql_execute_gdf_args.session, heavydb.thrift.Heavy.deallocate_df_args.session, heavydb.thrift.Heavy.sql_validate_args.session, heavydb.thrift.Heavy.get_completion_hints_args.session, heavydb.thrift.Heavy.set_execution_mode_args.session, heavydb.thrift.Heavy.render_vega_args.session, heavydb.thrift.Heavy.get_result_row_for_pixel_args.session, heavydb.thrift.Heavy.create_custom_expression_args.session, heavydb.thrift.Heavy.get_custom_expressions_args.session, heavydb.thrift.Heavy.update_custom_expression_args.session, heavydb.thrift.Heavy.delete_custom_expressions_args.session, heavydb.thrift.Heavy.get_dashboard_args.session, heavydb.thrift.Heavy.get_dashboards_args.session, heavydb.thrift.Heavy.create_dashboard_args.session, heavydb.thrift.Heavy.replace_dashboard_args.session, heavydb.thrift.Heavy.delete_dashboard_args.session, heavydb.thrift.Heavy.share_dashboards_args.session, heavydb.thrift.Heavy.delete_dashboards_args.session, heavydb.thrift.Heavy.share_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboard_args.session, heavydb.thrift.Heavy.unshare_dashboards_args.session, heavydb.thrift.Heavy.get_dashboard_grantees_args.session, heavydb.thrift.Heavy.get_link_view_args.session, heavydb.thrift.Heavy.create_link_args.session, heavydb.thrift.Heavy.load_table_binary_args.session, heavydb.thrift.Heavy.load_table_binary_columnar_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, TableMetadata.table_name, AlterTableAlterColumnCommandRecoveryMgr::RecoveryParamFilepathInfo.table_name, create_table.SyntheticTable.table_name, heavydb.thrift.Heavy.get_table_details_args.table_name, heavydb.thrift.Heavy.get_table_details_for_database_args.table_name, heavydb.thrift.Heavy.get_internal_table_details_args.table_name, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.table_name, heavydb.thrift.Heavy.set_table_epoch_by_name_args.table_name, heavydb.thrift.Heavy.get_table_epoch_by_name_args.table_name, heavydb.thrift.Heavy.load_table_binary_args.table_name, heavydb.thrift.Heavy.load_table_binary_columnar_args.table_name, heavydb.thrift.Heavy.load_table_binary_arrow_args.table_name, and heavydb.thrift.Heavy.load_table_args.table_name.

17969  def write(self, oprot):
17970  if oprot._fast_encode is not None and self.thrift_spec is not None:
17971  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17972  return
17973  oprot.writeStructBegin('load_table_args')
17974  if self.session is not None:
17975  oprot.writeFieldBegin('session', TType.STRING, 1)
17976  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
17977  oprot.writeFieldEnd()
17978  if self.table_name is not None:
17979  oprot.writeFieldBegin('table_name', TType.STRING, 2)
17980  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
17981  oprot.writeFieldEnd()
17982  if self.rows is not None:
17983  oprot.writeFieldBegin('rows', TType.LIST, 3)
17984  oprot.writeListBegin(TType.STRUCT, len(self.rows))
17985  for iter528 in self.rows:
17986  iter528.write(oprot)
17987  oprot.writeListEnd()
17988  oprot.writeFieldEnd()
17989  if self.column_names is not None:
17990  oprot.writeFieldBegin('column_names', TType.LIST, 4)
17991  oprot.writeListBegin(TType.STRING, len(self.column_names))
17992  for iter529 in self.column_names:
17993  oprot.writeString(iter529.encode('utf-8') if sys.version_info[0] == 2 else iter529)
17994  oprot.writeListEnd()
17995  oprot.writeFieldEnd()
17996  oprot.writeFieldStop()
17997  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.load_table_args.__dict__
private

Definition at line 18007 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.load_table_args.column_names

Definition at line 17921 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.load_table_args.read(), and heavydb.thrift.Heavy.load_table_args.write().

heavydb.thrift.Heavy.load_table_args.rows

Definition at line 17917 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TRowSet.read(), heavydb.thrift.Heavy.load_table_args.read(), heavydb.thrift.ttypes.TRowSet.write(), and heavydb.thrift.Heavy.load_table_args.write().

heavydb.thrift.Heavy.load_table_args.session

Definition at line 17915 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.load_table_args.read(), heavydb.thrift.Heavy.detect_column_types_args.read(), heavydb.thrift.Heavy.create_table_args.read(), heavydb.thrift.Heavy.import_table_args.read(), heavydb.thrift.Heavy.import_geo_table_args.read(), heavydb.thrift.Heavy.import_table_status_args.read(), heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.read(), heavydb.thrift.Heavy.get_all_files_in_archive_args.read(), heavydb.thrift.Heavy.get_layers_in_geo_file_args.read(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.read(), heavydb.thrift.Heavy.check_table_consistency_args.read(), heavydb.thrift.Heavy.start_render_query_args.read(), heavydb.thrift.Heavy.insert_data_args.read(), heavydb.thrift.Heavy.insert_chunks_args.read(), heavydb.thrift.Heavy.checkpoint_args.read(), heavydb.thrift.Heavy.get_roles_args.read(), heavydb.thrift.Heavy.get_db_objects_for_grantee_args.read(), heavydb.thrift.Heavy.get_db_object_privs_args.read(), heavydb.thrift.Heavy.get_all_roles_for_user_args.read(), heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.read(), heavydb.thrift.Heavy.has_role_args.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.Heavy.set_license_key_args.read(), heavydb.thrift.Heavy.get_license_claims_args.read(), heavydb.thrift.Heavy.get_device_parameters_args.read(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.read(), heavydb.thrift.Heavy.get_table_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.read(), heavydb.thrift.Heavy.get_table_function_details_args.read(), heavydb.thrift.Heavy.get_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_function_names_args.read(), heavydb.thrift.Heavy.get_function_details_args.read(), heavydb.thrift.Heavy.load_table_args.write(), heavydb.thrift.Heavy.detect_column_types_args.write(), heavydb.thrift.Heavy.create_table_args.write(), heavydb.thrift.Heavy.import_table_args.write(), heavydb.thrift.Heavy.import_geo_table_args.write(), heavydb.thrift.Heavy.import_table_status_args.write(), heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.write(), heavydb.thrift.Heavy.get_all_files_in_archive_args.write(), heavydb.thrift.Heavy.get_layers_in_geo_file_args.write(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.write(), heavydb.thrift.Heavy.check_table_consistency_args.write(), heavydb.thrift.Heavy.start_render_query_args.write(), heavydb.thrift.Heavy.insert_data_args.write(), heavydb.thrift.Heavy.insert_chunks_args.write(), heavydb.thrift.Heavy.checkpoint_args.write(), heavydb.thrift.Heavy.get_roles_args.write(), heavydb.thrift.Heavy.get_db_objects_for_grantee_args.write(), heavydb.thrift.Heavy.get_db_object_privs_args.write(), heavydb.thrift.Heavy.get_all_roles_for_user_args.write(), heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.write(), heavydb.thrift.Heavy.has_role_args.write(), heavydb.thrift.Heavy.has_object_privilege_args.write(), heavydb.thrift.Heavy.set_license_key_args.write(), heavydb.thrift.Heavy.get_license_claims_args.write(), heavydb.thrift.Heavy.get_device_parameters_args.write(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.write(), heavydb.thrift.Heavy.get_table_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.write(), heavydb.thrift.Heavy.get_table_function_details_args.write(), heavydb.thrift.Heavy.get_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_function_names_args.write(), and heavydb.thrift.Heavy.get_function_details_args.write().

heavydb.thrift.Heavy.load_table_args.table_name

Definition at line 17916 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TTableMeta.read(), heavydb.thrift.Heavy.load_table_args.read(), heavydb.thrift.Heavy.create_table_args.read(), heavydb.thrift.Heavy.import_table_args.read(), heavydb.thrift.Heavy.import_geo_table_args.read(), heavydb.thrift.ttypes.TTableMeta.write(), heavydb.thrift.Heavy.load_table_args.write(), heavydb.thrift.Heavy.create_table_args.write(), heavydb.thrift.Heavy.import_table_args.write(), and heavydb.thrift.Heavy.import_geo_table_args.write().


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