OmniSciDB  a575cb28ea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.import_table_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.import_table_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.import_table_args:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 session
 
 table_name
 
 file_name
 
 copy_params
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - table_name
 - file_name
 - copy_params

Definition at line 15400 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.import_table_args.__init__ (   self,
  session = None,
  table_name = None,
  file_name = None,
  copy_params = None 
)

Definition at line 15411 of file OmniSci.py.

15412  def __init__(self, session=None, table_name=None, file_name=None, copy_params=None,):
15413  self.session = session
15414  self.table_name = table_name
15415  self.file_name = file_name
15416  self.copy_params = copy_params

Member Function Documentation

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

Definition at line 15484 of file OmniSci.py.

15485  def __eq__(self, other):
15486  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.import_table_args.__ne__ (   self,
  other 
)

Definition at line 15487 of file OmniSci.py.

15488  def __ne__(self, other):
15489  return not (self == other)
15490 all_structs.append(import_table_args)
import_table_args.thrift_spec = (
def omnisci.thrift.OmniSci.import_table_args.__repr__ (   self)

Definition at line 15479 of file OmniSci.py.

15480  def __repr__(self):
15481  L = ['%s=%r' % (key, value)
15482  for key, value in self.__dict__.items()]
15483  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.import_table_args.read (   self,
  iprot 
)

Definition at line 15417 of file OmniSci.py.

References foreign_storage::csv_file_buffer_parser::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, omnisci.thrift.OmniSci.detect_column_types_args.copy_params, omnisci.thrift.OmniSci.import_table_args.copy_params, import_export::BadRowsTracker.file_name, omnisci.thrift.OmniSci.detect_column_types_args.file_name, omnisci.thrift.OmniSci.import_table_args.file_name, 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.omnisci.jdbc.OmniSciConnection.session, com.mapd.utility.SQLImporter.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, omnisci.thrift.OmniSci.load_table_binary_columnar_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, omnisci.thrift.OmniSci.detect_column_types_args.session, omnisci.thrift.OmniSci.create_table_args.session, omnisci.thrift.OmniSci.import_table_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, 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_arrow_args.table_name, omnisci.thrift.OmniSci.load_table_args.table_name, omnisci.thrift.OmniSci.create_table_args.table_name, and omnisci.thrift.OmniSci.import_table_args.table_name.

15418  def read(self, iprot):
15419  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
15420  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
15421  return
15422  iprot.readStructBegin()
15423  while True:
15424  (fname, ftype, fid) = iprot.readFieldBegin()
15425  if ftype == TType.STOP:
15426  break
15427  if fid == 1:
15428  if ftype == TType.STRING:
15429  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
15430  else:
15431  iprot.skip(ftype)
15432  elif fid == 2:
15433  if ftype == TType.STRING:
15434  self.table_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
15435  else:
15436  iprot.skip(ftype)
15437  elif fid == 3:
15438  if ftype == TType.STRING:
15439  self.file_name = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
15440  else:
15441  iprot.skip(ftype)
15442  elif fid == 4:
15443  if ftype == TType.STRUCT:
15444  self.copy_params = TCopyParams()
15445  self.copy_params.read(iprot)
15446  else:
15447  iprot.skip(ftype)
15448  else:
15449  iprot.skip(ftype)
15450  iprot.readFieldEnd()
15451  iprot.readStructEnd()
def omnisci.thrift.OmniSci.import_table_args.validate (   self)

Definition at line 15476 of file OmniSci.py.

15477  def validate(self):
15478  return
def omnisci.thrift.OmniSci.import_table_args.write (   self,
  oprot 
)

Definition at line 15452 of file OmniSci.py.

References foreign_storage::csv_file_buffer_parser::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, omnisci.thrift.OmniSci.detect_column_types_args.copy_params, omnisci.thrift.OmniSci.import_table_args.copy_params, import_export::BadRowsTracker.file_name, omnisci.thrift.OmniSci.detect_column_types_args.file_name, omnisci.thrift.OmniSci.import_table_args.file_name, 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.omnisci.jdbc.OmniSciConnection.session, com.mapd.utility.SQLImporter.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, omnisci.thrift.OmniSci.load_table_binary_columnar_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, omnisci.thrift.OmniSci.detect_column_types_args.session, omnisci.thrift.OmniSci.create_table_args.session, omnisci.thrift.OmniSci.import_table_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, 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_arrow_args.table_name, omnisci.thrift.OmniSci.load_table_args.table_name, omnisci.thrift.OmniSci.create_table_args.table_name, and omnisci.thrift.OmniSci.import_table_args.table_name.

15453  def write(self, oprot):
15454  if oprot._fast_encode is not None and self.thrift_spec is not None:
15455  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
15456  return
15457  oprot.writeStructBegin('import_table_args')
15458  if self.session is not None:
15459  oprot.writeFieldBegin('session', TType.STRING, 1)
15460  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
15461  oprot.writeFieldEnd()
15462  if self.table_name is not None:
15463  oprot.writeFieldBegin('table_name', TType.STRING, 2)
15464  oprot.writeString(self.table_name.encode('utf-8') if sys.version_info[0] == 2 else self.table_name)
15465  oprot.writeFieldEnd()
15466  if self.file_name is not None:
15467  oprot.writeFieldBegin('file_name', TType.STRING, 3)
15468  oprot.writeString(self.file_name.encode('utf-8') if sys.version_info[0] == 2 else self.file_name)
15469  oprot.writeFieldEnd()
15470  if self.copy_params is not None:
15471  oprot.writeFieldBegin('copy_params', TType.STRUCT, 4)
15472  self.copy_params.write(oprot)
15473  oprot.writeFieldEnd()
15474  oprot.writeFieldStop()
15475  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.import_table_args.__dict__
private

Definition at line 15485 of file OmniSci.py.

omnisci.thrift.OmniSci.import_table_args.copy_params

Definition at line 15415 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDetectResult.read(), omnisci.thrift.OmniSci.import_table_args.read(), omnisci.thrift.OmniSci.import_geo_table_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.ttypes.TDetectResult.write(), omnisci.thrift.OmniSci.import_table_args.write(), omnisci.thrift.OmniSci.import_geo_table_args.write(), omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.write(), omnisci.thrift.OmniSci.get_all_files_in_archive_args.write(), and omnisci.thrift.OmniSci.get_layers_in_geo_file_args.write().

omnisci.thrift.OmniSci.import_table_args.file_name

Definition at line 15414 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.import_table_args.read(), omnisci.thrift.OmniSci.import_geo_table_args.read(), omnisci.thrift.OmniSci.get_layers_in_geo_file_args.read(), omnisci.thrift.OmniSci.import_table_args.write(), omnisci.thrift.OmniSci.import_geo_table_args.write(), and omnisci.thrift.OmniSci.get_layers_in_geo_file_args.write().

omnisci.thrift.OmniSci.import_table_args.session

Definition at line 15412 of file OmniSci.py.

Referenced by 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.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.import_table_args.table_name

Definition at line 15413 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TTableMeta.read(), omnisci.thrift.OmniSci.import_table_args.read(), omnisci.thrift.OmniSci.import_geo_table_args.read(), omnisci.thrift.ttypes.TTableMeta.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: