OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 12008 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 12021 of file OmniSci.py.

12022  def __init__(self, session=None, query=None, column_format=None, nonce=None, first_n=-1, at_most_n=-1,):
12023  self.session = session
12024  self.query = query
12025  self.column_format = column_format
12026  self.nonce = nonce
12027  self.first_n = first_n
12028  self.at_most_n = at_most_n

Member Function Documentation

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

Definition at line 12113 of file OmniSci.py.

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

Definition at line 12116 of file OmniSci.py.

12117  def __ne__(self, other):
12118  return not (self == other)
12119 all_structs.append(sql_execute_args)
sql_execute_args.thrift_spec = (
def omnisci.thrift.OmniSci.sql_execute_args.__repr__ (   self)

Definition at line 12108 of file OmniSci.py.

12109  def __repr__(self):
12110  L = ['%s=%r' % (key, value)
12111  for key, value in self.__dict__.items()]
12112  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 12029 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.SqlExportQuery.query, com.mapd.parser.extension.ddl.SqlInsertIntoTable.query, com.mapd.parser.extension.ddl.SqlCreateView.query, com.mapd.parser.extension.ddl.SqlCreateTable.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.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_tables_for_database_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_table_details_for_database_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_for_database_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.

12030  def read(self, iprot):
12031  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
12032  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
12033  return
12034  iprot.readStructBegin()
12035  while True:
12036  (fname, ftype, fid) = iprot.readFieldBegin()
12037  if ftype == TType.STOP:
12038  break
12039  if fid == 1:
12040  if ftype == TType.STRING:
12041  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12042  else:
12043  iprot.skip(ftype)
12044  elif fid == 2:
12045  if ftype == TType.STRING:
12046  self.query = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12047  else:
12048  iprot.skip(ftype)
12049  elif fid == 3:
12050  if ftype == TType.BOOL:
12051  self.column_format = iprot.readBool()
12052  else:
12053  iprot.skip(ftype)
12054  elif fid == 4:
12055  if ftype == TType.STRING:
12056  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
12057  else:
12058  iprot.skip(ftype)
12059  elif fid == 5:
12060  if ftype == TType.I32:
12061  self.first_n = iprot.readI32()
12062  else:
12063  iprot.skip(ftype)
12064  elif fid == 6:
12065  if ftype == TType.I32:
12066  self.at_most_n = iprot.readI32()
12067  else:
12068  iprot.skip(ftype)
12069  else:
12070  iprot.skip(ftype)
12071  iprot.readFieldEnd()
12072  iprot.readStructEnd()
def omnisci.thrift.OmniSci.sql_execute_args.validate (   self)

Definition at line 12105 of file OmniSci.py.

12106  def validate(self):
12107  return
def omnisci.thrift.OmniSci.sql_execute_args.write (   self,
  oprot 
)

Definition at line 12073 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.SqlExportQuery.query, com.mapd.parser.extension.ddl.SqlInsertIntoTable.query, com.mapd.parser.extension.ddl.SqlCreateView.query, com.mapd.parser.extension.ddl.SqlCreateTable.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.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_tables_for_database_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_table_details_for_database_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_for_database_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.

12074  def write(self, oprot):
12075  if oprot._fast_encode is not None and self.thrift_spec is not None:
12076  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
12077  return
12078  oprot.writeStructBegin('sql_execute_args')
12079  if self.session is not None:
12080  oprot.writeFieldBegin('session', TType.STRING, 1)
12081  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
12082  oprot.writeFieldEnd()
12083  if self.query is not None:
12084  oprot.writeFieldBegin('query', TType.STRING, 2)
12085  oprot.writeString(self.query.encode('utf-8') if sys.version_info[0] == 2 else self.query)
12086  oprot.writeFieldEnd()
12087  if self.column_format is not None:
12088  oprot.writeFieldBegin('column_format', TType.BOOL, 3)
12089  oprot.writeBool(self.column_format)
12090  oprot.writeFieldEnd()
12091  if self.nonce is not None:
12092  oprot.writeFieldBegin('nonce', TType.STRING, 4)
12093  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
12094  oprot.writeFieldEnd()
12095  if self.first_n is not None:
12096  oprot.writeFieldBegin('first_n', TType.I32, 5)
12097  oprot.writeI32(self.first_n)
12098  oprot.writeFieldEnd()
12099  if self.at_most_n is not None:
12100  oprot.writeFieldBegin('at_most_n', TType.I32, 6)
12101  oprot.writeI32(self.at_most_n)
12102  oprot.writeFieldEnd()
12103  oprot.writeFieldStop()
12104  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.sql_execute_args.__dict__
private

Definition at line 12114 of file OmniSci.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

omnisci.thrift.OmniSci.sql_execute_args.at_most_n

Definition at line 12027 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 12024 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 12026 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 12025 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 12023 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 12022 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.create_custom_expression_args.read(), omnisci.thrift.OmniSci.get_custom_expressions_args.read(), omnisci.thrift.OmniSci.update_custom_expression_args.read(), omnisci.thrift.OmniSci.delete_custom_expressions_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_columnar_polys_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.create_custom_expression_args.write(), omnisci.thrift.OmniSci.get_custom_expressions_args.write(), omnisci.thrift.OmniSci.update_custom_expression_args.write(), omnisci.thrift.OmniSci.delete_custom_expressions_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_columnar_polys_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: