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

Public Member Functions

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

Public Attributes

 session
 
 query
 
 column_format
 
 nonce
 
 first_n
 
 at_most_n
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - query
 - column_format
 - nonce
 - first_n
 - at_most_n

Definition at line 10432 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.sql_execute_args.__init__ (   self,
  session = None,
  query = None,
  column_format = None,
  nonce = None,
  first_n = -1,
  at_most_n = -1 
)

Definition at line 10445 of file OmniSci.py.

10446  def __init__(self, session=None, query=None, column_format=None, nonce=None, first_n=-1, at_most_n=-1,):
10447  self.session = session
10448  self.query = query
10449  self.column_format = column_format
10450  self.nonce = nonce
10451  self.first_n = first_n
10452  self.at_most_n = at_most_n

Member Function Documentation

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

Definition at line 10537 of file OmniSci.py.

10538  def __eq__(self, other):
10539  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.sql_execute_args.__ne__ (   self,
  other 
)

Definition at line 10540 of file OmniSci.py.

10541  def __ne__(self, other):
10542  return not (self == other)
10543 all_structs.append(sql_execute_args)
sql_execute_args.thrift_spec = (
def omnisci.thrift.OmniSci.sql_execute_args.__repr__ (   self)

Definition at line 10532 of file OmniSci.py.

10533  def __repr__(self):
10534  L = ['%s=%r' % (key, value)
10535  for key, value in self.__dict__.items()]
10536  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.sql_execute_args.read (   self,
  iprot 
)

Definition at line 10453 of file OmniSci.py.

References omnisci.thrift.OmniSci.sql_execute_args.at_most_n, omnisci.thrift.OmniSci.sql_execute_args.column_format, omnisci.thrift.OmniSci.sql_execute_args.first_n, omnisci.thrift.OmniSci.sql_execute_args.nonce, com.mapd.parser.extension.ddl.SqlCreateView.query, com.mapd.parser.extension.ddl.SqlCreateTable.query, Parser::SubqueryExpr.query, Parser::ExistsExpr.query, omnisci.thrift.OmniSci.sql_execute_args.query, 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, and omnisci.thrift.OmniSci.sql_execute_args.session.

10454  def read(self, iprot):
10455  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
10456  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
10457  return
10458  iprot.readStructBegin()
10459  while True:
10460  (fname, ftype, fid) = iprot.readFieldBegin()
10461  if ftype == TType.STOP:
10462  break
10463  if fid == 1:
10464  if ftype == TType.STRING:
10465  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10466  else:
10467  iprot.skip(ftype)
10468  elif fid == 2:
10469  if ftype == TType.STRING:
10470  self.query = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10471  else:
10472  iprot.skip(ftype)
10473  elif fid == 3:
10474  if ftype == TType.BOOL:
10475  self.column_format = iprot.readBool()
10476  else:
10477  iprot.skip(ftype)
10478  elif fid == 4:
10479  if ftype == TType.STRING:
10480  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10481  else:
10482  iprot.skip(ftype)
10483  elif fid == 5:
10484  if ftype == TType.I32:
10485  self.first_n = iprot.readI32()
10486  else:
10487  iprot.skip(ftype)
10488  elif fid == 6:
10489  if ftype == TType.I32:
10490  self.at_most_n = iprot.readI32()
10491  else:
10492  iprot.skip(ftype)
10493  else:
10494  iprot.skip(ftype)
10495  iprot.readFieldEnd()
10496  iprot.readStructEnd()
def omnisci.thrift.OmniSci.sql_execute_args.validate (   self)

Definition at line 10529 of file OmniSci.py.

10530  def validate(self):
10531  return
def omnisci.thrift.OmniSci.sql_execute_args.write (   self,
  oprot 
)

Definition at line 10497 of file OmniSci.py.

References omnisci.thrift.OmniSci.sql_execute_args.at_most_n, omnisci.thrift.OmniSci.sql_execute_args.column_format, omnisci.thrift.OmniSci.sql_execute_args.first_n, omnisci.thrift.OmniSci.sql_execute_args.nonce, com.mapd.parser.extension.ddl.SqlCreateView.query, com.mapd.parser.extension.ddl.SqlCreateTable.query, Parser::SubqueryExpr.query, Parser::ExistsExpr.query, omnisci.thrift.OmniSci.sql_execute_args.query, 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, and omnisci.thrift.OmniSci.sql_execute_args.session.

10498  def write(self, oprot):
10499  if oprot._fast_encode is not None and self.thrift_spec is not None:
10500  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
10501  return
10502  oprot.writeStructBegin('sql_execute_args')
10503  if self.session is not None:
10504  oprot.writeFieldBegin('session', TType.STRING, 1)
10505  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
10506  oprot.writeFieldEnd()
10507  if self.query is not None:
10508  oprot.writeFieldBegin('query', TType.STRING, 2)
10509  oprot.writeString(self.query.encode('utf-8') if sys.version_info[0] == 2 else self.query)
10510  oprot.writeFieldEnd()
10511  if self.column_format is not None:
10512  oprot.writeFieldBegin('column_format', TType.BOOL, 3)
10513  oprot.writeBool(self.column_format)
10514  oprot.writeFieldEnd()
10515  if self.nonce is not None:
10516  oprot.writeFieldBegin('nonce', TType.STRING, 4)
10517  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
10518  oprot.writeFieldEnd()
10519  if self.first_n is not None:
10520  oprot.writeFieldBegin('first_n', TType.I32, 5)
10521  oprot.writeI32(self.first_n)
10522  oprot.writeFieldEnd()
10523  if self.at_most_n is not None:
10524  oprot.writeFieldBegin('at_most_n', TType.I32, 6)
10525  oprot.writeI32(self.at_most_n)
10526  oprot.writeFieldEnd()
10527  oprot.writeFieldStop()
10528  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.sql_execute_args.__dict__
private

Definition at line 10538 of file OmniSci.py.

omnisci.thrift.OmniSci.sql_execute_args.at_most_n

Definition at line 10451 of file OmniSci.py.

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

omnisci.thrift.OmniSci.sql_execute_args.column_format

Definition at line 10448 of file OmniSci.py.

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

omnisci.thrift.OmniSci.sql_execute_args.first_n

Definition at line 10450 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.sql_execute_args.read(), omnisci.thrift.OmniSci.sql_execute_df_args.read(), omnisci.thrift.OmniSci.sql_execute_gdf_args.read(), omnisci.thrift.OmniSci.sql_execute_args.write(), omnisci.thrift.OmniSci.sql_execute_df_args.write(), and omnisci.thrift.OmniSci.sql_execute_gdf_args.write().

omnisci.thrift.OmniSci.sql_execute_args.nonce

Definition at line 10449 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TQueryResult.read(), omnisci.thrift.ttypes.TPixelTableRowResult.read(), omnisci.thrift.ttypes.TRenderResult.read(), omnisci.thrift.OmniSci.sql_execute_args.read(), omnisci.thrift.OmniSci.render_vega_args.read(), omnisci.thrift.OmniSci.get_result_row_for_pixel_args.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.sql_execute_args.write(), omnisci.thrift.OmniSci.render_vega_args.write(), omnisci.thrift.OmniSci.get_result_row_for_pixel_args.write(), omnisci.thrift.OmniSci.set_license_key_args.write(), and omnisci.thrift.OmniSci.get_license_claims_args.write().

omnisci.thrift.OmniSci.sql_execute_args.query

Definition at line 10447 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.sql_execute_args.read(), omnisci.thrift.OmniSci.sql_execute_df_args.read(), omnisci.thrift.OmniSci.sql_execute_gdf_args.read(), omnisci.thrift.OmniSci.sql_validate_args.read(), omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.read(), omnisci.thrift.OmniSci.sql_execute_args.write(), omnisci.thrift.OmniSci.sql_execute_df_args.write(), omnisci.thrift.OmniSci.sql_execute_gdf_args.write(), omnisci.thrift.OmniSci.sql_validate_args.write(), and omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.write().

omnisci.thrift.OmniSci.sql_execute_args.session

Definition at line 10446 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.sql_execute_args.read(), omnisci.thrift.OmniSci.sql_execute_df_args.read(), omnisci.thrift.OmniSci.sql_execute_gdf_args.read(), omnisci.thrift.OmniSci.deallocate_df_args.read(), omnisci.thrift.OmniSci.sql_validate_args.read(), omnisci.thrift.OmniSci.get_completion_hints_args.read(), omnisci.thrift.OmniSci.set_execution_mode_args.read(), omnisci.thrift.OmniSci.render_vega_args.read(), omnisci.thrift.OmniSci.get_result_row_for_pixel_args.read(), omnisci.thrift.OmniSci.get_dashboard_args.read(), omnisci.thrift.OmniSci.get_dashboards_args.read(), omnisci.thrift.OmniSci.create_dashboard_args.read(), omnisci.thrift.OmniSci.replace_dashboard_args.read(), omnisci.thrift.OmniSci.delete_dashboard_args.read(), omnisci.thrift.OmniSci.share_dashboards_args.read(), omnisci.thrift.OmniSci.delete_dashboards_args.read(), omnisci.thrift.OmniSci.share_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboard_args.read(), omnisci.thrift.OmniSci.unshare_dashboards_args.read(), omnisci.thrift.OmniSci.get_dashboard_grantees_args.read(), omnisci.thrift.OmniSci.get_link_view_args.read(), omnisci.thrift.OmniSci.create_link_args.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.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.sql_execute_args.write(), omnisci.thrift.OmniSci.sql_execute_df_args.write(), omnisci.thrift.OmniSci.sql_execute_gdf_args.write(), omnisci.thrift.OmniSci.deallocate_df_args.write(), omnisci.thrift.OmniSci.sql_validate_args.write(), omnisci.thrift.OmniSci.get_completion_hints_args.write(), omnisci.thrift.OmniSci.set_execution_mode_args.write(), omnisci.thrift.OmniSci.render_vega_args.write(), omnisci.thrift.OmniSci.get_result_row_for_pixel_args.write(), omnisci.thrift.OmniSci.get_dashboard_args.write(), omnisci.thrift.OmniSci.get_dashboards_args.write(), omnisci.thrift.OmniSci.create_dashboard_args.write(), omnisci.thrift.OmniSci.replace_dashboard_args.write(), omnisci.thrift.OmniSci.delete_dashboard_args.write(), omnisci.thrift.OmniSci.share_dashboards_args.write(), omnisci.thrift.OmniSci.delete_dashboards_args.write(), omnisci.thrift.OmniSci.share_dashboard_args.write(), omnisci.thrift.OmniSci.unshare_dashboard_args.write(), omnisci.thrift.OmniSci.unshare_dashboards_args.write(), omnisci.thrift.OmniSci.get_dashboard_grantees_args.write(), omnisci.thrift.OmniSci.get_link_view_args.write(), omnisci.thrift.OmniSci.create_link_args.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.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().


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