OmniSciDB  fe05a0c208
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 14345 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 14357 of file OmniSci.py.

14358  ],):
14359  self.session = session
14360  self.table_name = table_name
14361  self.rows = rows
14362  if column_names is self.thrift_spec[4][4]:
14363  column_names = [
14364  ]
14365  self.column_names = column_names

Member Function Documentation

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

Definition at line 14449 of file OmniSci.py.

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

Definition at line 14452 of file OmniSci.py.

14453  def __ne__(self, other):
14454  return not (self == other)
14455 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 14444 of file OmniSci.py.

14445  def __repr__(self):
14446  L = ['%s=%r' % (key, value)
14447  for key, value in self.__dict__.items()]
14448  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 14366 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_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_internal_table_details_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.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, Parser::TableRef.table_name, omnisci.thrift.OmniSci.get_table_details_args.table_name, omnisci.thrift.OmniSci.get_internal_table_details_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.

14367  def read(self, iprot):
14368  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
14369  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
14370  return
14371  iprot.readStructBegin()
14372  while True:
14373  (fname, ftype, fid) = iprot.readFieldBegin()
14374  if ftype == TType.STOP:
14375  break
14376  if fid == 1:
14377  if ftype == TType.STRING:
14378  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
14379  else:
14380  iprot.skip(ftype)
14381  elif fid == 2:
14382  if ftype == TType.STRING:
14383  self.table_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
14384  else:
14385  iprot.skip(ftype)
14386  elif fid == 3:
14387  if ftype == TType.LIST:
14388  self.rows = []
14389  (_etype435, _size432) = iprot.readListBegin()
14390  for _i436 in range(_size432):
14391  _elem437 = TRow()
14392  _elem437.read(iprot)
14393  self.rows.append(_elem437)
14394  iprot.readListEnd()
14395  else:
14396  iprot.skip(ftype)
14397  elif fid == 4:
14398  if ftype == TType.LIST:
14399  self.column_names = []
14400  (_etype441, _size438) = iprot.readListBegin()
14401  for _i442 in range(_size438):
14402  _elem443 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
14403  self.column_names.append(_elem443)
14404  iprot.readListEnd()
14405  else:
14406  iprot.skip(ftype)
14407  else:
14408  iprot.skip(ftype)
14409  iprot.readFieldEnd()
14410  iprot.readStructEnd()
def omnisci.thrift.OmniSci.load_table_binary_args.validate (   self)

Definition at line 14441 of file OmniSci.py.

14442  def validate(self):
14443  return
def omnisci.thrift.OmniSci.load_table_binary_args.write (   self,
  oprot 
)

Definition at line 14411 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_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_internal_table_details_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.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, Parser::TableRef.table_name, omnisci.thrift.OmniSci.get_table_details_args.table_name, omnisci.thrift.OmniSci.get_internal_table_details_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.

14412  def write(self, oprot):
14413  if oprot._fast_encode is not None and self.thrift_spec is not None:
14414  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
14415  return
14416  oprot.writeStructBegin('load_table_binary_args')
14417  if self.session is not None:
14418  oprot.writeFieldBegin('session', TType.STRING, 1)
14419  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
14420  oprot.writeFieldEnd()
14421  if self.table_name is not None:
14422  oprot.writeFieldBegin('table_name', TType.STRING, 2)
14423  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
14424  oprot.writeFieldEnd()
14425  if self.rows is not None:
14426  oprot.writeFieldBegin('rows', TType.LIST, 3)
14427  oprot.writeListBegin(TType.STRUCT, len(self.rows))
14428  for iter444 in self.rows:
14429  iter444.write(oprot)
14430  oprot.writeListEnd()
14431  oprot.writeFieldEnd()
14432  if self.column_names is not None:
14433  oprot.writeFieldBegin('column_names', TType.LIST, 4)
14434  oprot.writeListBegin(TType.STRING, len(self.column_names))
14435  for iter445 in self.column_names:
14436  oprot.writeString(iter445.encode('utf-8') if sys.version_info[0] == 2 else iter445)
14437  oprot.writeListEnd()
14438  oprot.writeFieldEnd()
14439  oprot.writeFieldStop()
14440  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.load_table_binary_args.__dict__
private

Definition at line 14450 of file OmniSci.py.

omnisci.thrift.OmniSci.load_table_binary_args.column_names

Definition at line 14364 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_args.read(), omnisci.thrift.OmniSci.load_table_binary_args.write(), omnisci.thrift.OmniSci.load_table_binary_columnar_args.write(), and omnisci.thrift.OmniSci.load_table_args.write().

omnisci.thrift.OmniSci.load_table_binary_args.rows

Definition at line 14360 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 14358 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_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_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 14359 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_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_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: