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

Constructor & Destructor Documentation

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

Definition at line 16533 of file OmniSci.py.

16534  ],):
16535  self.session = session
16536  self.table_name = table_name
16537  self.rows = rows
16538  if column_names is self.thrift_spec[4][4]:
16539  column_names = [
16540  ]
16541  self.column_names = column_names

Member Function Documentation

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

Definition at line 16625 of file OmniSci.py.

16626  def __eq__(self, other):
16627  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.load_table_binary_args.__ne__ (   self,
  other 
)

Definition at line 16628 of file OmniSci.py.

16629  def __ne__(self, other):
16630  return not (self == other)
16631 all_structs.append(load_table_binary_args)
load_table_binary_args.thrift_spec = (
def omnisci.thrift.OmniSci.load_table_binary_args.__repr__ (   self)

Definition at line 16620 of file OmniSci.py.

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

Definition at line 16542 of file OmniSci.py.

References omnisci.thrift.OmniSci.load_table_binary_args.column_names, import_export::BadRowsTracker.rows, com.omnisci.jdbc.OmniSciPreparedStatement.rows, omnisci.thrift.OmniSci.load_table_binary_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, 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, and omnisci.thrift.OmniSci.load_table_binary_args.table_name.

16543  def read(self, iprot):
16544  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16545  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16546  return
16547  iprot.readStructBegin()
16548  while True:
16549  (fname, ftype, fid) = iprot.readFieldBegin()
16550  if ftype == TType.STOP:
16551  break
16552  if fid == 1:
16553  if ftype == TType.STRING:
16554  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16555  else:
16556  iprot.skip(ftype)
16557  elif fid == 2:
16558  if ftype == TType.STRING:
16559  self.table_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16560  else:
16561  iprot.skip(ftype)
16562  elif fid == 3:
16563  if ftype == TType.LIST:
16564  self.rows = []
16565  (_etype463, _size460) = iprot.readListBegin()
16566  for _i464 in range(_size460):
16567  _elem465 = TRow()
16568  _elem465.read(iprot)
16569  self.rows.append(_elem465)
16570  iprot.readListEnd()
16571  else:
16572  iprot.skip(ftype)
16573  elif fid == 4:
16574  if ftype == TType.LIST:
16575  self.column_names = []
16576  (_etype469, _size466) = iprot.readListBegin()
16577  for _i470 in range(_size466):
16578  _elem471 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16579  self.column_names.append(_elem471)
16580  iprot.readListEnd()
16581  else:
16582  iprot.skip(ftype)
16583  else:
16584  iprot.skip(ftype)
16585  iprot.readFieldEnd()
16586  iprot.readStructEnd()
def omnisci.thrift.OmniSci.load_table_binary_args.validate (   self)

Definition at line 16617 of file OmniSci.py.

16618  def validate(self):
16619  return
def omnisci.thrift.OmniSci.load_table_binary_args.write (   self,
  oprot 
)

Definition at line 16587 of file OmniSci.py.

References omnisci.thrift.OmniSci.load_table_binary_args.column_names, import_export::BadRowsTracker.rows, com.omnisci.jdbc.OmniSciPreparedStatement.rows, omnisci.thrift.OmniSci.load_table_binary_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, 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, and omnisci.thrift.OmniSci.load_table_binary_args.table_name.

16588  def write(self, oprot):
16589  if oprot._fast_encode is not None and self.thrift_spec is not None:
16590  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16591  return
16592  oprot.writeStructBegin('load_table_binary_args')
16593  if self.session is not None:
16594  oprot.writeFieldBegin('session', TType.STRING, 1)
16595  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
16596  oprot.writeFieldEnd()
16597  if self.table_name is not None:
16598  oprot.writeFieldBegin('table_name', TType.STRING, 2)
16599  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
16600  oprot.writeFieldEnd()
16601  if self.rows is not None:
16602  oprot.writeFieldBegin('rows', TType.LIST, 3)
16603  oprot.writeListBegin(TType.STRUCT, len(self.rows))
16604  for iter472 in self.rows:
16605  iter472.write(oprot)
16606  oprot.writeListEnd()
16607  oprot.writeFieldEnd()
16608  if self.column_names is not None:
16609  oprot.writeFieldBegin('column_names', TType.LIST, 4)
16610  oprot.writeListBegin(TType.STRING, len(self.column_names))
16611  for iter473 in self.column_names:
16612  oprot.writeString(iter473.encode('utf-8') if sys.version_info[0] == 2 else iter473)
16613  oprot.writeListEnd()
16614  oprot.writeFieldEnd()
16615  oprot.writeFieldStop()
16616  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.load_table_binary_args.__dict__
private

Definition at line 16626 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.load_table_binary_args.column_names

Definition at line 16540 of file OmniSci.py.

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

omnisci.thrift.OmniSci.load_table_binary_args.rows

Definition at line 16536 of file OmniSci.py.

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

omnisci.thrift.OmniSci.load_table_binary_args.session

Definition at line 16534 of file OmniSci.py.

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

Definition at line 16535 of file OmniSci.py.

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