OmniSciDB  c1a53651b2
 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 18175 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 18187 of file Heavy.py.

18188  ],):
18189  self.session = session
18190  self.table_name = table_name
18191  self.rows = rows
18192  if column_names is self.thrift_spec[4][4]:
18193  column_names = [
18194  ]
18195  self.column_names = column_names

Member Function Documentation

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

Definition at line 18279 of file Heavy.py.

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

Definition at line 18282 of file Heavy.py.

18283  def __ne__(self, other):
18284  return not (self == other)
18285 all_structs.append(load_table_args)
load_table_args.thrift_spec = (
def heavydb.thrift.Heavy.load_table_args.__repr__ (   self)

Definition at line 18274 of file Heavy.py.

18275  def __repr__(self):
18276  L = ['%s=%r' % (key, value)
18277  for key, value in self.__dict__.items()]
18278  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 18196 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.

18197  def read(self, iprot):
18198  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
18199  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
18200  return
18201  iprot.readStructBegin()
18202  while True:
18203  (fname, ftype, fid) = iprot.readFieldBegin()
18204  if ftype == TType.STOP:
18205  break
18206  if fid == 1:
18207  if ftype == TType.STRING:
18208  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
18209  else:
18210  iprot.skip(ftype)
18211  elif fid == 2:
18212  if ftype == TType.STRING:
18213  self.table_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
18214  else:
18215  iprot.skip(ftype)
18216  elif fid == 3:
18217  if ftype == TType.LIST:
18218  self.rows = []
18219  (_etype526, _size523) = iprot.readListBegin()
18220  for _i527 in range(_size523):
18221  _elem528 = TStringRow()
18222  _elem528.read(iprot)
18223  self.rows.append(_elem528)
18224  iprot.readListEnd()
18225  else:
18226  iprot.skip(ftype)
18227  elif fid == 4:
18228  if ftype == TType.LIST:
18229  self.column_names = []
18230  (_etype532, _size529) = iprot.readListBegin()
18231  for _i533 in range(_size529):
18232  _elem534 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
18233  self.column_names.append(_elem534)
18234  iprot.readListEnd()
18235  else:
18236  iprot.skip(ftype)
18237  else:
18238  iprot.skip(ftype)
18239  iprot.readFieldEnd()
18240  iprot.readStructEnd()
def heavydb.thrift.Heavy.load_table_args.validate (   self)

Definition at line 18271 of file Heavy.py.

18272  def validate(self):
18273  return
def heavydb.thrift.Heavy.load_table_args.write (   self,
  oprot 
)

Definition at line 18241 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.

18242  def write(self, oprot):
18243  if oprot._fast_encode is not None and self.thrift_spec is not None:
18244  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
18245  return
18246  oprot.writeStructBegin('load_table_args')
18247  if self.session is not None:
18248  oprot.writeFieldBegin('session', TType.STRING, 1)
18249  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
18250  oprot.writeFieldEnd()
18251  if self.table_name is not None:
18252  oprot.writeFieldBegin('table_name', TType.STRING, 2)
18253  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
18254  oprot.writeFieldEnd()
18255  if self.rows is not None:
18256  oprot.writeFieldBegin('rows', TType.LIST, 3)
18257  oprot.writeListBegin(TType.STRUCT, len(self.rows))
18258  for iter535 in self.rows:
18259  iter535.write(oprot)
18260  oprot.writeListEnd()
18261  oprot.writeFieldEnd()
18262  if self.column_names is not None:
18263  oprot.writeFieldBegin('column_names', TType.LIST, 4)
18264  oprot.writeListBegin(TType.STRING, len(self.column_names))
18265  for iter536 in self.column_names:
18266  oprot.writeString(iter536.encode('utf-8') if sys.version_info[0] == 2 else iter536)
18267  oprot.writeListEnd()
18268  oprot.writeFieldEnd()
18269  oprot.writeFieldStop()
18270  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.load_table_args.__dict__
private

Definition at line 18280 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.load_table_args.column_names

Definition at line 18194 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 18190 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 18188 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 18189 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: