OmniSciDB  fe05a0c208
 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 19304 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 19415 of file OmniSci.py.

19416  def __eq__(self, other):
19417  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 19418 of file OmniSci.py.

19419  def __ne__(self, other):
19420  return not (self == other)
19421 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 19410 of file OmniSci.py.

19411  def __repr__(self):
19412  L = ['%s=%r' % (key, value)
19413  for key, value in self.__dict__.items()]
19414  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 19321 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.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, 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.

19322  def read(self, iprot):
19323  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
19324  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
19325  return
19326  iprot.readStructBegin()
19327  while True:
19328  (fname, ftype, fid) = iprot.readFieldBegin()
19329  if ftype == TType.STOP:
19330  break
19331  if fid == 1:
19332  if ftype == TType.STRING:
19333  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
19334  else:
19335  iprot.skip(ftype)
19336  elif fid == 2:
19337  if ftype == TType.LIST:
19338  self.udfs = []
19339  (_etype599, _size596) = iprot.readListBegin()
19340  for _i600 in range(_size596):
19342  _elem601.read(iprot)
19343  self.udfs.append(_elem601)
19344  iprot.readListEnd()
19345  else:
19346  iprot.skip(ftype)
19347  elif fid == 3:
19348  if ftype == TType.LIST:
19349  self.udtfs = []
19350  (_etype605, _size602) = iprot.readListBegin()
19351  for _i606 in range(_size602):
19353  _elem607.read(iprot)
19354  self.udtfs.append(_elem607)
19355  iprot.readListEnd()
19356  else:
19357  iprot.skip(ftype)
19358  elif fid == 4:
19359  if ftype == TType.MAP:
19360  self.device_ir_map = {}
19361  (_ktype609, _vtype610, _size608) = iprot.readMapBegin()
19362  for _i612 in range(_size608):
19363  _key613 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
19364  _val614 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
19365  self.device_ir_map[_key613] = _val614
19366  iprot.readMapEnd()
19367  else:
19368  iprot.skip(ftype)
19369  else:
19370  iprot.skip(ftype)
19371  iprot.readFieldEnd()
19372  iprot.readStructEnd()
def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.validate (   self)

Definition at line 19407 of file OmniSci.py.

19408  def validate(self):
19409  return
def omnisci.thrift.OmniSci.register_runtime_extension_functions_args.write (   self,
  oprot 
)

Definition at line 19373 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.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, 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.

19374  def write(self, oprot):
19375  if oprot._fast_encode is not None and self.thrift_spec is not None:
19376  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
19377  return
19378  oprot.writeStructBegin('register_runtime_extension_functions_args')
19379  if self.session is not None:
19380  oprot.writeFieldBegin('session', TType.STRING, 1)
19381  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
19382  oprot.writeFieldEnd()
19383  if self.udfs is not None:
19384  oprot.writeFieldBegin('udfs', TType.LIST, 2)
19385  oprot.writeListBegin(TType.STRUCT, len(self.udfs))
19386  for iter615 in self.udfs:
19387  iter615.write(oprot)
19388  oprot.writeListEnd()
19389  oprot.writeFieldEnd()
19390  if self.udtfs is not None:
19391  oprot.writeFieldBegin('udtfs', TType.LIST, 3)
19392  oprot.writeListBegin(TType.STRUCT, len(self.udtfs))
19393  for iter616 in self.udtfs:
19394  iter616.write(oprot)
19395  oprot.writeListEnd()
19396  oprot.writeFieldEnd()
19397  if self.device_ir_map is not None:
19398  oprot.writeFieldBegin('device_ir_map', TType.MAP, 4)
19399  oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.device_ir_map))
19400  for kiter617, viter618 in self.device_ir_map.items():
19401  oprot.writeString(kiter617.encode('utf-8') if sys.version_info[0] == 2 else kiter617)
19402  oprot.writeString(viter618.encode('utf-8') if sys.version_info[0] == 2 else viter618)
19403  oprot.writeMapEnd()
19404  oprot.writeFieldEnd()
19405  oprot.writeFieldStop()
19406  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.__dict__
private

Definition at line 19416 of file OmniSci.py.

omnisci.thrift.OmniSci.register_runtime_extension_functions_args.device_ir_map

Definition at line 19319 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 19316 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 19317 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 19318 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: