OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
omnisci.thrift.OmniSci.load_table_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.load_table_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.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 17243 of file OmniSci.py.

Constructor & Destructor Documentation

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

Definition at line 17255 of file OmniSci.py.

17256  ],):
17257  self.session = session
17258  self.table_name = table_name
17259  self.rows = rows
17260  if column_names is self.thrift_spec[4][4]:
17261  column_names = [
17262  ]
17263  self.column_names = column_names

Member Function Documentation

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

Definition at line 17347 of file OmniSci.py.

17348  def __eq__(self, other):
17349  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.load_table_args.__ne__ (   self,
  other 
)

Definition at line 17350 of file OmniSci.py.

17351  def __ne__(self, other):
17352  return not (self == other)
17353 all_structs.append(load_table_args)
load_table_args.thrift_spec = (
def omnisci.thrift.OmniSci.load_table_args.__repr__ (   self)

Definition at line 17342 of file OmniSci.py.

17343  def __repr__(self):
17344  L = ['%s=%r' % (key, value)
17345  for key, value in self.__dict__.items()]
17346  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.load_table_args.read (   self,
  iprot 
)

Definition at line 17264 of file OmniSci.py.

References omnisci.thrift.OmniSci.load_table_binary_args.column_names, omnisci.thrift.OmniSci.load_table_binary_columnar_args.column_names, omnisci.thrift.OmniSci.load_table_binary_columnar_polys_args.column_names, omnisci.thrift.OmniSci.load_table_args.column_names, import_export::BadRowsTracker.rows, com.omnisci.jdbc.OmniSciPreparedStatement.rows, omnisci.thrift.OmniSci.load_table_binary_args.rows, omnisci.thrift.OmniSci.load_table_args.rows, 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.mapd.utility.SQLImporter.session, com.omnisci.jdbc.OmniSciConnection.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_tables_for_database_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_table_details_for_database_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_for_database_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_table_epochs_args.session, omnisci.thrift.OmniSci.set_table_epochs_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.create_custom_expression_args.session, omnisci.thrift.OmniSci.get_custom_expressions_args.session, omnisci.thrift.OmniSci.update_custom_expression_args.session, omnisci.thrift.OmniSci.delete_custom_expressions_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_columnar_polys_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, TableMetadata.table_name, create_table.SyntheticTable.table_name, omnisci.thrift.OmniSci.get_table_details_args.table_name, omnisci.thrift.OmniSci.get_table_details_for_database_args.table_name, omnisci.thrift.OmniSci.get_internal_table_details_args.table_name, omnisci.thrift.OmniSci.get_internal_table_details_for_database_args.table_name, omnisci.thrift.OmniSci.set_table_epoch_by_name_args.table_name, omnisci.thrift.OmniSci.get_table_epoch_by_name_args.table_name, omnisci.thrift.OmniSci.load_table_binary_args.table_name, omnisci.thrift.OmniSci.load_table_binary_columnar_args.table_name, omnisci.thrift.OmniSci.load_table_binary_columnar_polys_args.table_name, omnisci.thrift.OmniSci.load_table_binary_arrow_args.table_name, and omnisci.thrift.OmniSci.load_table_args.table_name.

17265  def read(self, iprot):
17266  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17267  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17268  return
17269  iprot.readStructBegin()
17270  while True:
17271  (fname, ftype, fid) = iprot.readFieldBegin()
17272  if ftype == TType.STOP:
17273  break
17274  if fid == 1:
17275  if ftype == TType.STRING:
17276  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17277  else:
17278  iprot.skip(ftype)
17279  elif fid == 2:
17280  if ftype == TType.STRING:
17281  self.table_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17282  else:
17283  iprot.skip(ftype)
17284  elif fid == 3:
17285  if ftype == TType.LIST:
17286  self.rows = []
17287  (_etype505, _size502) = iprot.readListBegin()
17288  for _i506 in range(_size502):
17289  _elem507 = TStringRow()
17290  _elem507.read(iprot)
17291  self.rows.append(_elem507)
17292  iprot.readListEnd()
17293  else:
17294  iprot.skip(ftype)
17295  elif fid == 4:
17296  if ftype == TType.LIST:
17297  self.column_names = []
17298  (_etype511, _size508) = iprot.readListBegin()
17299  for _i512 in range(_size508):
17300  _elem513 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17301  self.column_names.append(_elem513)
17302  iprot.readListEnd()
17303  else:
17304  iprot.skip(ftype)
17305  else:
17306  iprot.skip(ftype)
17307  iprot.readFieldEnd()
17308  iprot.readStructEnd()
def omnisci.thrift.OmniSci.load_table_args.validate (   self)

Definition at line 17339 of file OmniSci.py.

17340  def validate(self):
17341  return
def omnisci.thrift.OmniSci.load_table_args.write (   self,
  oprot 
)

Definition at line 17309 of file OmniSci.py.

References omnisci.thrift.OmniSci.load_table_binary_args.column_names, omnisci.thrift.OmniSci.load_table_binary_columnar_args.column_names, omnisci.thrift.OmniSci.load_table_binary_columnar_polys_args.column_names, omnisci.thrift.OmniSci.load_table_args.column_names, import_export::BadRowsTracker.rows, com.omnisci.jdbc.OmniSciPreparedStatement.rows, omnisci.thrift.OmniSci.load_table_binary_args.rows, omnisci.thrift.OmniSci.load_table_args.rows, 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.mapd.utility.SQLImporter.session, com.omnisci.jdbc.OmniSciConnection.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_tables_for_database_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_table_details_for_database_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_for_database_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_table_epochs_args.session, omnisci.thrift.OmniSci.set_table_epochs_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.create_custom_expression_args.session, omnisci.thrift.OmniSci.get_custom_expressions_args.session, omnisci.thrift.OmniSci.update_custom_expression_args.session, omnisci.thrift.OmniSci.delete_custom_expressions_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_columnar_polys_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, TableMetadata.table_name, create_table.SyntheticTable.table_name, omnisci.thrift.OmniSci.get_table_details_args.table_name, omnisci.thrift.OmniSci.get_table_details_for_database_args.table_name, omnisci.thrift.OmniSci.get_internal_table_details_args.table_name, omnisci.thrift.OmniSci.get_internal_table_details_for_database_args.table_name, omnisci.thrift.OmniSci.set_table_epoch_by_name_args.table_name, omnisci.thrift.OmniSci.get_table_epoch_by_name_args.table_name, omnisci.thrift.OmniSci.load_table_binary_args.table_name, omnisci.thrift.OmniSci.load_table_binary_columnar_args.table_name, omnisci.thrift.OmniSci.load_table_binary_columnar_polys_args.table_name, omnisci.thrift.OmniSci.load_table_binary_arrow_args.table_name, and omnisci.thrift.OmniSci.load_table_args.table_name.

17310  def write(self, oprot):
17311  if oprot._fast_encode is not None and self.thrift_spec is not None:
17312  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17313  return
17314  oprot.writeStructBegin('load_table_args')
17315  if self.session is not None:
17316  oprot.writeFieldBegin('session', TType.STRING, 1)
17317  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
17318  oprot.writeFieldEnd()
17319  if self.table_name is not None:
17320  oprot.writeFieldBegin('table_name', TType.STRING, 2)
17321  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
17322  oprot.writeFieldEnd()
17323  if self.rows is not None:
17324  oprot.writeFieldBegin('rows', TType.LIST, 3)
17325  oprot.writeListBegin(TType.STRUCT, len(self.rows))
17326  for iter514 in self.rows:
17327  iter514.write(oprot)
17328  oprot.writeListEnd()
17329  oprot.writeFieldEnd()
17330  if self.column_names is not None:
17331  oprot.writeFieldBegin('column_names', TType.LIST, 4)
17332  oprot.writeListBegin(TType.STRING, len(self.column_names))
17333  for iter515 in self.column_names:
17334  oprot.writeString(iter515.encode('utf-8') if sys.version_info[0] == 2 else iter515)
17335  oprot.writeListEnd()
17336  oprot.writeFieldEnd()
17337  oprot.writeFieldStop()
17338  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.load_table_args.__dict__
private

Definition at line 17348 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.load_table_args.column_names

Definition at line 17262 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.load_table_args.read(), and omnisci.thrift.OmniSci.load_table_args.write().

omnisci.thrift.OmniSci.load_table_args.rows

Definition at line 17258 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TRowSet.read(), omnisci.thrift.OmniSci.load_table_args.read(), omnisci.thrift.ttypes.TRowSet.write(), and omnisci.thrift.OmniSci.load_table_args.write().

omnisci.thrift.OmniSci.load_table_args.session

Definition at line 17256 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.load_table_args.read(), omnisci.thrift.OmniSci.detect_column_types_args.read(), omnisci.thrift.OmniSci.create_table_args.read(), omnisci.thrift.OmniSci.import_table_args.read(), omnisci.thrift.OmniSci.import_geo_table_args.read(), omnisci.thrift.OmniSci.import_table_status_args.read(), omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.read(), omnisci.thrift.OmniSci.get_all_files_in_archive_args.read(), omnisci.thrift.OmniSci.get_layers_in_geo_file_args.read(), omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.read(), omnisci.thrift.OmniSci.check_table_consistency_args.read(), omnisci.thrift.OmniSci.start_render_query_args.read(), omnisci.thrift.OmniSci.insert_data_args.read(), 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.load_table_args.write(), omnisci.thrift.OmniSci.detect_column_types_args.write(), omnisci.thrift.OmniSci.create_table_args.write(), omnisci.thrift.OmniSci.import_table_args.write(), omnisci.thrift.OmniSci.import_geo_table_args.write(), omnisci.thrift.OmniSci.import_table_status_args.write(), omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.write(), omnisci.thrift.OmniSci.get_all_files_in_archive_args.write(), omnisci.thrift.OmniSci.get_layers_in_geo_file_args.write(), omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.write(), omnisci.thrift.OmniSci.check_table_consistency_args.write(), omnisci.thrift.OmniSci.start_render_query_args.write(), omnisci.thrift.OmniSci.insert_data_args.write(), 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.load_table_args.table_name

Definition at line 17257 of file OmniSci.py.

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


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