OmniSciDB  cde582ebc3
 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 17965 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 17977 of file Heavy.py.

17978  ],):
17979  self.session = session
17980  self.table_name = table_name
17981  self.rows = rows
17982  if column_names is self.thrift_spec[4][4]:
17983  column_names = [
17984  ]
17985  self.column_names = column_names

Member Function Documentation

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

Definition at line 18069 of file Heavy.py.

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

Definition at line 18072 of file Heavy.py.

18073  def __ne__(self, other):
18074  return not (self == other)
18075 all_structs.append(load_table_args)
load_table_args.thrift_spec = (
def heavydb.thrift.Heavy.load_table_args.__repr__ (   self)

Definition at line 18064 of file Heavy.py.

18065  def __repr__(self):
18066  L = ['%s=%r' % (key, value)
18067  for key, value in self.__dict__.items()]
18068  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 17986 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_binary_columnar_polys_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_columnar_polys_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, TableMetadata.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_columnar_polys_args.table_name, heavydb.thrift.Heavy.load_table_binary_arrow_args.table_name, and heavydb.thrift.Heavy.load_table_args.table_name.

17987  def read(self, iprot):
17988  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17989  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17990  return
17991  iprot.readStructBegin()
17992  while True:
17993  (fname, ftype, fid) = iprot.readFieldBegin()
17994  if ftype == TType.STOP:
17995  break
17996  if fid == 1:
17997  if ftype == TType.STRING:
17998  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
17999  else:
18000  iprot.skip(ftype)
18001  elif fid == 2:
18002  if ftype == TType.STRING:
18003  self.table_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
18004  else:
18005  iprot.skip(ftype)
18006  elif fid == 3:
18007  if ftype == TType.LIST:
18008  self.rows = []
18009  (_etype526, _size523) = iprot.readListBegin()
18010  for _i527 in range(_size523):
18011  _elem528 = TStringRow()
18012  _elem528.read(iprot)
18013  self.rows.append(_elem528)
18014  iprot.readListEnd()
18015  else:
18016  iprot.skip(ftype)
18017  elif fid == 4:
18018  if ftype == TType.LIST:
18019  self.column_names = []
18020  (_etype532, _size529) = iprot.readListBegin()
18021  for _i533 in range(_size529):
18022  _elem534 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
18023  self.column_names.append(_elem534)
18024  iprot.readListEnd()
18025  else:
18026  iprot.skip(ftype)
18027  else:
18028  iprot.skip(ftype)
18029  iprot.readFieldEnd()
18030  iprot.readStructEnd()
def heavydb.thrift.Heavy.load_table_args.validate (   self)

Definition at line 18061 of file Heavy.py.

18062  def validate(self):
18063  return
def heavydb.thrift.Heavy.load_table_args.write (   self,
  oprot 
)

Definition at line 18031 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_binary_columnar_polys_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_columnar_polys_args.session, heavydb.thrift.Heavy.load_table_binary_arrow_args.session, heavydb.thrift.Heavy.load_table_args.session, TableMetadata.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_columnar_polys_args.table_name, heavydb.thrift.Heavy.load_table_binary_arrow_args.table_name, and heavydb.thrift.Heavy.load_table_args.table_name.

18032  def write(self, oprot):
18033  if oprot._fast_encode is not None and self.thrift_spec is not None:
18034  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
18035  return
18036  oprot.writeStructBegin('load_table_args')
18037  if self.session is not None:
18038  oprot.writeFieldBegin('session', TType.STRING, 1)
18039  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
18040  oprot.writeFieldEnd()
18041  if self.table_name is not None:
18042  oprot.writeFieldBegin('table_name', TType.STRING, 2)
18043  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
18044  oprot.writeFieldEnd()
18045  if self.rows is not None:
18046  oprot.writeFieldBegin('rows', TType.LIST, 3)
18047  oprot.writeListBegin(TType.STRUCT, len(self.rows))
18048  for iter535 in self.rows:
18049  iter535.write(oprot)
18050  oprot.writeListEnd()
18051  oprot.writeFieldEnd()
18052  if self.column_names is not None:
18053  oprot.writeFieldBegin('column_names', TType.LIST, 4)
18054  oprot.writeListBegin(TType.STRING, len(self.column_names))
18055  for iter536 in self.column_names:
18056  oprot.writeString(iter536.encode('utf-8') if sys.version_info[0] == 2 else iter536)
18057  oprot.writeListEnd()
18058  oprot.writeFieldEnd()
18059  oprot.writeFieldStop()
18060  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.load_table_args.__dict__
private

Definition at line 18070 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.load_table_args.column_names

Definition at line 17984 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 17980 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 17978 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.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(), and heavydb.thrift.Heavy.get_table_function_details_args.write().

heavydb.thrift.Heavy.load_table_args.table_name

Definition at line 17979 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: