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

Public Member Functions

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

Public Attributes

 session
 
 udfs
 
 udtfs
 
 device_ir_map
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - udfs
 - udtfs
 - device_ir_map

Definition at line 18743 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.__init__ (   self,
  session = None,
  udfs = None,
  udtfs = None,
  device_ir_map = None 
)

Member Function Documentation

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

Definition at line 18854 of file OmniSci.py.

18855  def __eq__(self, other):
18856  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.__ne__ (   self,
  other 
)

Definition at line 18857 of file OmniSci.py.

18858  def __ne__(self, other):
18859  return not (self == other)
18860 all_structs.append(register_runtime_extension_functions_args)
register_runtime_extension_functions_args.thrift_spec = (
def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.__repr__ (   self)

Definition at line 18849 of file OmniSci.py.

18850  def __repr__(self):
18851  L = ['%s=%r' % (key, value)
18852  for key, value in self.__dict__.items()]
18853  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.register_runtime_extension_functions_args.read (   self,
  iprot 
)

Definition at line 18760 of file OmniSci.py.

References omnisci.thrift.OmniSci.register_runtime_extension_functions_args.device_ir_map, 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_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, omnisci.thrift.OmniSci.import_geo_table_args.session, omnisci.thrift.OmniSci.import_table_status_args.session, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.session, omnisci.thrift.OmniSci.get_all_files_in_archive_args.session, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.session, omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.session, omnisci.thrift.OmniSci.check_table_consistency_args.session, omnisci.thrift.OmniSci.start_render_query_args.session, omnisci.thrift.OmniSci.insert_data_args.session, omnisci.thrift.OmniSci.checkpoint_args.session, omnisci.thrift.OmniSci.get_roles_args.session, omnisci.thrift.OmniSci.get_db_objects_for_grantee_args.session, omnisci.thrift.OmniSci.get_db_object_privs_args.session, omnisci.thrift.OmniSci.get_all_roles_for_user_args.session, omnisci.thrift.OmniSci.has_role_args.session, omnisci.thrift.OmniSci.has_object_privilege_args.session, omnisci.thrift.OmniSci.set_license_key_args.session, omnisci.thrift.OmniSci.get_license_claims_args.session, omnisci.thrift.OmniSci.get_device_parameters_args.session, omnisci.thrift.OmniSci.register_runtime_extension_functions_args.session, omnisci.thrift.OmniSci.register_runtime_extension_functions_args.udfs, and omnisci.thrift.OmniSci.register_runtime_extension_functions_args.udtfs.

18761  def read(self, iprot):
18762  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
18763  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
18764  return
18765  iprot.readStructBegin()
18766  while True:
18767  (fname, ftype, fid) = iprot.readFieldBegin()
18768  if ftype == TType.STOP:
18769  break
18770  if fid == 1:
18771  if ftype == TType.STRING:
18772  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18773  else:
18774  iprot.skip(ftype)
18775  elif fid == 2:
18776  if ftype == TType.LIST:
18777  self.udfs = []
18778  (_etype564, _size561) = iprot.readListBegin()
18779  for _i565 in range(_size561):
18781  _elem566.read(iprot)
18782  self.udfs.append(_elem566)
18783  iprot.readListEnd()
18784  else:
18785  iprot.skip(ftype)
18786  elif fid == 3:
18787  if ftype == TType.LIST:
18788  self.udtfs = []
18789  (_etype570, _size567) = iprot.readListBegin()
18790  for _i571 in range(_size567):
18792  _elem572.read(iprot)
18793  self.udtfs.append(_elem572)
18794  iprot.readListEnd()
18795  else:
18796  iprot.skip(ftype)
18797  elif fid == 4:
18798  if ftype == TType.MAP:
18799  self.device_ir_map = {}
18800  (_ktype574, _vtype575, _size573) = iprot.readMapBegin()
18801  for _i577 in range(_size573):
18802  _key578 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18803  _val579 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18804  self.device_ir_map[_key578] = _val579
18805  iprot.readMapEnd()
18806  else:
18807  iprot.skip(ftype)
18808  else:
18809  iprot.skip(ftype)
18810  iprot.readFieldEnd()
18811  iprot.readStructEnd()
def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.validate (   self)

Definition at line 18846 of file OmniSci.py.

18847  def validate(self):
18848  return
def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.write (   self,
  oprot 
)

Definition at line 18812 of file OmniSci.py.

References omnisci.thrift.OmniSci.register_runtime_extension_functions_args.device_ir_map, 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_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, omnisci.thrift.OmniSci.import_geo_table_args.session, omnisci.thrift.OmniSci.import_table_status_args.session, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.session, omnisci.thrift.OmniSci.get_all_files_in_archive_args.session, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.session, omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.session, omnisci.thrift.OmniSci.check_table_consistency_args.session, omnisci.thrift.OmniSci.start_render_query_args.session, omnisci.thrift.OmniSci.insert_data_args.session, omnisci.thrift.OmniSci.checkpoint_args.session, omnisci.thrift.OmniSci.get_roles_args.session, omnisci.thrift.OmniSci.get_db_objects_for_grantee_args.session, omnisci.thrift.OmniSci.get_db_object_privs_args.session, omnisci.thrift.OmniSci.get_all_roles_for_user_args.session, omnisci.thrift.OmniSci.has_role_args.session, omnisci.thrift.OmniSci.has_object_privilege_args.session, omnisci.thrift.OmniSci.set_license_key_args.session, omnisci.thrift.OmniSci.get_license_claims_args.session, omnisci.thrift.OmniSci.get_device_parameters_args.session, omnisci.thrift.OmniSci.register_runtime_extension_functions_args.session, omnisci.thrift.OmniSci.register_runtime_extension_functions_args.udfs, and omnisci.thrift.OmniSci.register_runtime_extension_functions_args.udtfs.

18813  def write(self, oprot):
18814  if oprot._fast_encode is not None and self.thrift_spec is not None:
18815  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
18816  return
18817  oprot.writeStructBegin('register_runtime_extension_functions_args')
18818  if self.session is not None:
18819  oprot.writeFieldBegin('session', TType.STRING, 1)
18820  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
18821  oprot.writeFieldEnd()
18822  if self.udfs is not None:
18823  oprot.writeFieldBegin('udfs', TType.LIST, 2)
18824  oprot.writeListBegin(TType.STRUCT, len(self.udfs))
18825  for iter580 in self.udfs:
18826  iter580.write(oprot)
18827  oprot.writeListEnd()
18828  oprot.writeFieldEnd()
18829  if self.udtfs is not None:
18830  oprot.writeFieldBegin('udtfs', TType.LIST, 3)
18831  oprot.writeListBegin(TType.STRUCT, len(self.udtfs))
18832  for iter581 in self.udtfs:
18833  iter581.write(oprot)
18834  oprot.writeListEnd()
18835  oprot.writeFieldEnd()
18836  if self.device_ir_map is not None:
18837  oprot.writeFieldBegin('device_ir_map', TType.MAP, 4)
18838  oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.device_ir_map))
18839  for kiter582, viter583 in self.device_ir_map.items():
18840  oprot.writeString(kiter582.encode('utf-8') if sys.version_info[0] == 2 else kiter582)
18841  oprot.writeString(viter583.encode('utf-8') if sys.version_info[0] == 2 else viter583)
18842  oprot.writeMapEnd()
18843  oprot.writeFieldEnd()
18844  oprot.writeFieldStop()
18845  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.__dict__
private

Definition at line 18855 of file OmniSci.py.

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.device_ir_map

Definition at line 18758 of file OmniSci.py.

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

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.session

Definition at line 18755 of file OmniSci.py.

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

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.udfs

Definition at line 18756 of file OmniSci.py.

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

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.udtfs

Definition at line 18757 of file OmniSci.py.

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


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