OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.load_table_binary_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.load_table_binary_args:
+ Collaboration diagram for heavydb.thrift.Heavy.load_table_binary_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 17378 of file Heavy.py.

Constructor & Destructor Documentation

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

Definition at line 17390 of file Heavy.py.

17391  ],):
17392  self.session = session
17393  self.table_name = table_name
17394  self.rows = rows
17395  if column_names is self.thrift_spec[4][4]:
17396  column_names = [
17397  ]
17398  self.column_names = column_names

Member Function Documentation

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

Definition at line 17482 of file Heavy.py.

17483  def __eq__(self, other):
17484  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.load_table_binary_args.__ne__ (   self,
  other 
)

Definition at line 17485 of file Heavy.py.

17486  def __ne__(self, other):
17487  return not (self == other)
17488 all_structs.append(load_table_binary_args)
load_table_binary_args.thrift_spec = (
def heavydb.thrift.Heavy.load_table_binary_args.__repr__ (   self)

Definition at line 17477 of file Heavy.py.

17478  def __repr__(self):
17479  L = ['%s=%r' % (key, value)
17480  for key, value in self.__dict__.items()]
17481  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_binary_args.read (   self,
  iprot 
)

Definition at line 17399 of file Heavy.py.

References foreign_storage::DataPreview.column_names, heavydb.thrift.Heavy.load_table_binary_args.column_names, ai.heavy.jdbc.HeavyAIPreparedStatement.rows, import_export::BadRowsTracker.rows, heavydb.thrift.Heavy.load_table_binary_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, 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, and heavydb.thrift.Heavy.load_table_binary_args.table_name.

17400  def read(self, iprot):
17401  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17402  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17403  return
17404  iprot.readStructBegin()
17405  while True:
17406  (fname, ftype, fid) = iprot.readFieldBegin()
17407  if ftype == TType.STOP:
17408  break
17409  if fid == 1:
17410  if ftype == TType.STRING:
17411  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17412  else:
17413  iprot.skip(ftype)
17414  elif fid == 2:
17415  if ftype == TType.STRING:
17416  self.table_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17417  else:
17418  iprot.skip(ftype)
17419  elif fid == 3:
17420  if ftype == TType.LIST:
17421  self.rows = []
17422  (_etype491, _size488) = iprot.readListBegin()
17423  for _i492 in range(_size488):
17424  _elem493 = TRow()
17425  _elem493.read(iprot)
17426  self.rows.append(_elem493)
17427  iprot.readListEnd()
17428  else:
17429  iprot.skip(ftype)
17430  elif fid == 4:
17431  if ftype == TType.LIST:
17432  self.column_names = []
17433  (_etype497, _size494) = iprot.readListBegin()
17434  for _i498 in range(_size494):
17435  _elem499 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17436  self.column_names.append(_elem499)
17437  iprot.readListEnd()
17438  else:
17439  iprot.skip(ftype)
17440  else:
17441  iprot.skip(ftype)
17442  iprot.readFieldEnd()
17443  iprot.readStructEnd()
def heavydb.thrift.Heavy.load_table_binary_args.validate (   self)

Definition at line 17474 of file Heavy.py.

17475  def validate(self):
17476  return
def heavydb.thrift.Heavy.load_table_binary_args.write (   self,
  oprot 
)

Definition at line 17444 of file Heavy.py.

References foreign_storage::DataPreview.column_names, heavydb.thrift.Heavy.load_table_binary_args.column_names, ai.heavy.jdbc.HeavyAIPreparedStatement.rows, import_export::BadRowsTracker.rows, heavydb.thrift.Heavy.load_table_binary_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, 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, and heavydb.thrift.Heavy.load_table_binary_args.table_name.

17445  def write(self, oprot):
17446  if oprot._fast_encode is not None and self.thrift_spec is not None:
17447  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17448  return
17449  oprot.writeStructBegin('load_table_binary_args')
17450  if self.session is not None:
17451  oprot.writeFieldBegin('session', TType.STRING, 1)
17452  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
17453  oprot.writeFieldEnd()
17454  if self.table_name is not None:
17455  oprot.writeFieldBegin('table_name', TType.STRING, 2)
17456  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
17457  oprot.writeFieldEnd()
17458  if self.rows is not None:
17459  oprot.writeFieldBegin('rows', TType.LIST, 3)
17460  oprot.writeListBegin(TType.STRUCT, len(self.rows))
17461  for iter500 in self.rows:
17462  iter500.write(oprot)
17463  oprot.writeListEnd()
17464  oprot.writeFieldEnd()
17465  if self.column_names is not None:
17466  oprot.writeFieldBegin('column_names', TType.LIST, 4)
17467  oprot.writeListBegin(TType.STRING, len(self.column_names))
17468  for iter501 in self.column_names:
17469  oprot.writeString(iter501.encode('utf-8') if sys.version_info[0] == 2 else iter501)
17470  oprot.writeListEnd()
17471  oprot.writeFieldEnd()
17472  oprot.writeFieldStop()
17473  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.load_table_binary_args.__dict__
private

Definition at line 17483 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.load_table_binary_args.column_names

Definition at line 17397 of file Heavy.py.

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

heavydb.thrift.Heavy.load_table_binary_args.rows

Definition at line 17393 of file Heavy.py.

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

heavydb.thrift.Heavy.load_table_binary_args.session

Definition at line 17391 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.load_table_binary_args.read(), heavydb.thrift.Heavy.load_table_binary_columnar_args.read(), heavydb.thrift.Heavy.load_table_binary_arrow_args.read(), 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_binary_args.write(), heavydb.thrift.Heavy.load_table_binary_columnar_args.write(), heavydb.thrift.Heavy.load_table_binary_arrow_args.write(), 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_binary_args.table_name

Definition at line 17392 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TTableMeta.read(), heavydb.thrift.Heavy.load_table_binary_args.read(), heavydb.thrift.Heavy.load_table_binary_columnar_args.read(), heavydb.thrift.Heavy.load_table_binary_arrow_args.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_binary_args.write(), heavydb.thrift.Heavy.load_table_binary_columnar_args.write(), heavydb.thrift.Heavy.load_table_binary_arrow_args.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: