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

Public Member Functions

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

Public Attributes

 session
 
 key
 
 nonce
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - key
 - nonce

Definition at line 18287 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.set_license_key_args.__init__ (   self,
  session = None,
  key = None,
  nonce = "" 
)

Definition at line 18297 of file OmniSci.py.

18298  def __init__(self, session=None, key=None, nonce="",):
18299  self.session = session
18300  self.key = key
18301  self.nonce = nonce

Member Function Documentation

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

Definition at line 18359 of file OmniSci.py.

18360  def __eq__(self, other):
18361  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.set_license_key_args.__ne__ (   self,
  other 
)

Definition at line 18362 of file OmniSci.py.

18363  def __ne__(self, other):
18364  return not (self == other)
18365 all_structs.append(set_license_key_args)
set_license_key_args.thrift_spec = (
def omnisci.thrift.OmniSci.set_license_key_args.__repr__ (   self)

Definition at line 18354 of file OmniSci.py.

18355  def __repr__(self):
18356  L = ['%s=%r' % (key, value)
18357  for key, value in self.__dict__.items()]
18358  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.set_license_key_args.read (   self,
  iprot 
)

Definition at line 18302 of file OmniSci.py.

References com.omnisci.jdbc.KeyLoader.S_struct.key, omnisci.thrift.OmniSci.set_license_key_args.key, omnisci.thrift.OmniSci.sql_execute_args.nonce, omnisci.thrift.OmniSci.render_vega_args.nonce, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.nonce, omnisci.thrift.OmniSci.set_license_key_args.nonce, 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, and omnisci.thrift.OmniSci.set_license_key_args.session.

18303  def read(self, iprot):
18304  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
18305  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
18306  return
18307  iprot.readStructBegin()
18308  while True:
18309  (fname, ftype, fid) = iprot.readFieldBegin()
18310  if ftype == TType.STOP:
18311  break
18312  if fid == 1:
18313  if ftype == TType.STRING:
18314  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18315  else:
18316  iprot.skip(ftype)
18317  elif fid == 2:
18318  if ftype == TType.STRING:
18319  self.key = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18320  else:
18321  iprot.skip(ftype)
18322  elif fid == 3:
18323  if ftype == TType.STRING:
18324  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18325  else:
18326  iprot.skip(ftype)
18327  else:
18328  iprot.skip(ftype)
18329  iprot.readFieldEnd()
18330  iprot.readStructEnd()
def omnisci.thrift.OmniSci.set_license_key_args.validate (   self)

Definition at line 18351 of file OmniSci.py.

18352  def validate(self):
18353  return
def omnisci.thrift.OmniSci.set_license_key_args.write (   self,
  oprot 
)

Definition at line 18331 of file OmniSci.py.

References com.omnisci.jdbc.KeyLoader.S_struct.key, omnisci.thrift.OmniSci.set_license_key_args.key, omnisci.thrift.OmniSci.sql_execute_args.nonce, omnisci.thrift.OmniSci.render_vega_args.nonce, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.nonce, omnisci.thrift.OmniSci.set_license_key_args.nonce, 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, and omnisci.thrift.OmniSci.set_license_key_args.session.

18332  def write(self, oprot):
18333  if oprot._fast_encode is not None and self.thrift_spec is not None:
18334  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
18335  return
18336  oprot.writeStructBegin('set_license_key_args')
18337  if self.session is not None:
18338  oprot.writeFieldBegin('session', TType.STRING, 1)
18339  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
18340  oprot.writeFieldEnd()
18341  if self.key is not None:
18342  oprot.writeFieldBegin('key', TType.STRING, 2)
18343  oprot.writeString(self.key.encode('utf-8') if sys.version_info[0] == 2 else self.key)
18344  oprot.writeFieldEnd()
18345  if self.nonce is not None:
18346  oprot.writeFieldBegin('nonce', TType.STRING, 3)
18347  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
18348  oprot.writeFieldEnd()
18349  oprot.writeFieldStop()
18350  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.set_license_key_args.__dict__
private

Definition at line 18360 of file OmniSci.py.

omnisci.thrift.OmniSci.set_license_key_args.key

Definition at line 18299 of file OmniSci.py.

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

omnisci.thrift.OmniSci.set_license_key_args.nonce

Definition at line 18300 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TQueryResult.read(), omnisci.thrift.ttypes.TPixelTableRowResult.read(), omnisci.thrift.ttypes.TRenderResult.read(), omnisci.thrift.OmniSci.set_license_key_args.read(), omnisci.thrift.OmniSci.get_license_claims_args.read(), omnisci.thrift.ttypes.TQueryResult.write(), omnisci.thrift.ttypes.TPixelTableRowResult.write(), omnisci.thrift.ttypes.TRenderResult.write(), omnisci.thrift.OmniSci.set_license_key_args.write(), and omnisci.thrift.OmniSci.get_license_claims_args.write().

omnisci.thrift.OmniSci.set_license_key_args.session

Definition at line 18298 of file OmniSci.py.

Referenced by 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.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().


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