OmniSciDB  4201147b46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.sql_execute_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.sql_execute_args:
+ Collaboration diagram for heavydb.thrift.Heavy.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 12761 of file Heavy.py.

Constructor & Destructor Documentation

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

Definition at line 12774 of file Heavy.py.

12775  def __init__(self, session=None, query=None, column_format=None, nonce=None, first_n=-1, at_most_n=-1,):
12776  self.session = session
12777  self.query = query
12778  self.column_format = column_format
12779  self.nonce = nonce
12780  self.first_n = first_n
12781  self.at_most_n = at_most_n

Member Function Documentation

def heavydb.thrift.Heavy.sql_execute_args.__eq__ (   self,
  other 
)

Definition at line 12866 of file Heavy.py.

12867  def __eq__(self, other):
12868  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.sql_execute_args.__ne__ (   self,
  other 
)

Definition at line 12869 of file Heavy.py.

12870  def __ne__(self, other):
12871  return not (self == other)
12872 all_structs.append(sql_execute_args)
sql_execute_args.thrift_spec = (
def heavydb.thrift.Heavy.sql_execute_args.__repr__ (   self)

Definition at line 12861 of file Heavy.py.

12862  def __repr__(self):
12863  L = ['%s=%r' % (key, value)
12864  for key, value in self.__dict__.items()]
12865  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 heavydb.thrift.Heavy.sql_execute_args.read (   self,
  iprot 
)

Definition at line 12782 of file Heavy.py.

References heavydb.thrift.Heavy.sql_execute_args.at_most_n, heavydb.thrift.Heavy.sql_execute_args.column_format, heavydb.thrift.Heavy.sql_execute_args.first_n, heavydb.thrift.Heavy.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, heavydb.thrift.Heavy.sql_execute_args.query, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, and heavydb.thrift.Heavy.sql_execute_args.session.

12783  def read(self, iprot):
12784  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
12785  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
12786  return
12787  iprot.readStructBegin()
12788  while True:
12789  (fname, ftype, fid) = iprot.readFieldBegin()
12790  if ftype == TType.STOP:
12791  break
12792  if fid == 1:
12793  if ftype == TType.STRING:
12794  self.session = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
12795  else:
12796  iprot.skip(ftype)
12797  elif fid == 2:
12798  if ftype == TType.STRING:
12799  self.query = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
12800  else:
12801  iprot.skip(ftype)
12802  elif fid == 3:
12803  if ftype == TType.BOOL:
12804  self.column_format = iprot.readBool()
12805  else:
12806  iprot.skip(ftype)
12807  elif fid == 4:
12808  if ftype == TType.STRING:
12809  self.nonce = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
12810  else:
12811  iprot.skip(ftype)
12812  elif fid == 5:
12813  if ftype == TType.I32:
12814  self.first_n = iprot.readI32()
12815  else:
12816  iprot.skip(ftype)
12817  elif fid == 6:
12818  if ftype == TType.I32:
12819  self.at_most_n = iprot.readI32()
12820  else:
12821  iprot.skip(ftype)
12822  else:
12823  iprot.skip(ftype)
12824  iprot.readFieldEnd()
12825  iprot.readStructEnd()
def heavydb.thrift.Heavy.sql_execute_args.validate (   self)

Definition at line 12858 of file Heavy.py.

12859  def validate(self):
12860  return
def heavydb.thrift.Heavy.sql_execute_args.write (   self,
  oprot 
)

Definition at line 12826 of file Heavy.py.

References heavydb.thrift.Heavy.sql_execute_args.at_most_n, heavydb.thrift.Heavy.sql_execute_args.column_format, heavydb.thrift.Heavy.sql_execute_args.first_n, heavydb.thrift.Heavy.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, heavydb.thrift.Heavy.sql_execute_args.query, com.mapd.calcite.parser.HeavyDBUser.session, ai.heavy.jdbc.HeavyAIStatement.session, ai.heavy.jdbc.HeavyAIPreparedStatement.session, com.mapd.parser.server.test.TestDBServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.mapd.utility.SQLImporter.session, ai.heavy.jdbc.HeavyAIConnection.session, heavydb.thrift.Heavy.disconnect_args.session, heavydb.thrift.Heavy.switch_database_args.session, heavydb.thrift.Heavy.clone_session_args.session, heavydb.thrift.Heavy.get_server_status_args.session, heavydb.thrift.Heavy.get_status_args.session, heavydb.thrift.Heavy.get_hardware_info_args.session, heavydb.thrift.Heavy.get_tables_args.session, heavydb.thrift.Heavy.get_tables_for_database_args.session, heavydb.thrift.Heavy.get_physical_tables_args.session, heavydb.thrift.Heavy.get_views_args.session, heavydb.thrift.Heavy.get_tables_meta_args.session, heavydb.thrift.Heavy.get_table_details_args.session, heavydb.thrift.Heavy.get_table_details_for_database_args.session, heavydb.thrift.Heavy.get_internal_table_details_args.session, heavydb.thrift.Heavy.get_internal_table_details_for_database_args.session, heavydb.thrift.Heavy.get_users_args.session, heavydb.thrift.Heavy.get_databases_args.session, heavydb.thrift.Heavy.start_heap_profile_args.session, heavydb.thrift.Heavy.stop_heap_profile_args.session, heavydb.thrift.Heavy.get_heap_profile_args.session, heavydb.thrift.Heavy.get_memory_args.session, heavydb.thrift.Heavy.clear_cpu_memory_args.session, heavydb.thrift.Heavy.clear_gpu_memory_args.session, heavydb.thrift.Heavy.set_table_epoch_args.session, heavydb.thrift.Heavy.set_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epoch_args.session, heavydb.thrift.Heavy.get_table_epoch_by_name_args.session, heavydb.thrift.Heavy.get_table_epochs_args.session, heavydb.thrift.Heavy.set_table_epochs_args.session, heavydb.thrift.Heavy.get_session_info_args.session, heavydb.thrift.Heavy.get_queries_info_args.session, heavydb.thrift.Heavy.set_leaf_info_args.session, and heavydb.thrift.Heavy.sql_execute_args.session.

12827  def write(self, oprot):
12828  if oprot._fast_encode is not None and self.thrift_spec is not None:
12829  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
12830  return
12831  oprot.writeStructBegin('sql_execute_args')
12832  if self.session is not None:
12833  oprot.writeFieldBegin('session', TType.STRING, 1)
12834  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
12835  oprot.writeFieldEnd()
12836  if self.query is not None:
12837  oprot.writeFieldBegin('query', TType.STRING, 2)
12838  oprot.writeString(self.query.encode('utf-8') if sys.version_info[0] == 2 else self.query)
12839  oprot.writeFieldEnd()
12840  if self.column_format is not None:
12841  oprot.writeFieldBegin('column_format', TType.BOOL, 3)
12842  oprot.writeBool(self.column_format)
12843  oprot.writeFieldEnd()
12844  if self.nonce is not None:
12845  oprot.writeFieldBegin('nonce', TType.STRING, 4)
12846  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
12847  oprot.writeFieldEnd()
12848  if self.first_n is not None:
12849  oprot.writeFieldBegin('first_n', TType.I32, 5)
12850  oprot.writeI32(self.first_n)
12851  oprot.writeFieldEnd()
12852  if self.at_most_n is not None:
12853  oprot.writeFieldBegin('at_most_n', TType.I32, 6)
12854  oprot.writeI32(self.at_most_n)
12855  oprot.writeFieldEnd()
12856  oprot.writeFieldStop()
12857  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.sql_execute_args.__dict__
private

Definition at line 12867 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.sql_execute_args.at_most_n

Definition at line 12780 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.sql_execute_args.read(), and heavydb.thrift.Heavy.sql_execute_args.write().

heavydb.thrift.Heavy.sql_execute_args.column_format

Definition at line 12777 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.sql_execute_args.read(), heavydb.thrift.Heavy.get_result_row_for_pixel_args.read(), heavydb.thrift.Heavy.sql_execute_args.write(), and heavydb.thrift.Heavy.get_result_row_for_pixel_args.write().

heavydb.thrift.Heavy.sql_execute_args.first_n

Definition at line 12779 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.sql_execute_args.read(), heavydb.thrift.Heavy.sql_execute_df_args.read(), heavydb.thrift.Heavy.sql_execute_gdf_args.read(), heavydb.thrift.Heavy.sql_execute_args.write(), heavydb.thrift.Heavy.sql_execute_df_args.write(), and heavydb.thrift.Heavy.sql_execute_gdf_args.write().

heavydb.thrift.Heavy.sql_execute_args.nonce

Definition at line 12778 of file Heavy.py.

Referenced by heavydb.thrift.ttypes.TQueryResult.read(), heavydb.thrift.ttypes.TPixelTableRowResult.read(), heavydb.thrift.ttypes.TRenderResult.read(), heavydb.thrift.Heavy.sql_execute_args.read(), heavydb.thrift.Heavy.render_vega_args.read(), heavydb.thrift.Heavy.get_result_row_for_pixel_args.read(), heavydb.thrift.Heavy.set_license_key_args.read(), heavydb.thrift.Heavy.get_license_claims_args.read(), heavydb.thrift.ttypes.TQueryResult.write(), heavydb.thrift.ttypes.TPixelTableRowResult.write(), heavydb.thrift.ttypes.TRenderResult.write(), heavydb.thrift.Heavy.sql_execute_args.write(), heavydb.thrift.Heavy.render_vega_args.write(), heavydb.thrift.Heavy.get_result_row_for_pixel_args.write(), heavydb.thrift.Heavy.set_license_key_args.write(), and heavydb.thrift.Heavy.get_license_claims_args.write().

heavydb.thrift.Heavy.sql_execute_args.query

Definition at line 12776 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.sql_execute_args.read(), heavydb.thrift.Heavy.sql_execute_df_args.read(), heavydb.thrift.Heavy.sql_execute_gdf_args.read(), heavydb.thrift.Heavy.sql_validate_args.read(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.read(), heavydb.thrift.Heavy.sql_execute_args.write(), heavydb.thrift.Heavy.sql_execute_df_args.write(), heavydb.thrift.Heavy.sql_execute_gdf_args.write(), heavydb.thrift.Heavy.sql_validate_args.write(), and heavydb.thrift.Heavy.query_get_outer_fragment_count_args.write().

heavydb.thrift.Heavy.sql_execute_args.session

Definition at line 12775 of file Heavy.py.

Referenced by heavydb.thrift.Heavy.sql_execute_args.read(), heavydb.thrift.Heavy.sql_execute_df_args.read(), heavydb.thrift.Heavy.sql_execute_gdf_args.read(), heavydb.thrift.Heavy.deallocate_df_args.read(), heavydb.thrift.Heavy.sql_validate_args.read(), heavydb.thrift.Heavy.get_completion_hints_args.read(), heavydb.thrift.Heavy.set_execution_mode_args.read(), heavydb.thrift.Heavy.render_vega_args.read(), heavydb.thrift.Heavy.get_result_row_for_pixel_args.read(), heavydb.thrift.Heavy.create_custom_expression_args.read(), heavydb.thrift.Heavy.get_custom_expressions_args.read(), heavydb.thrift.Heavy.update_custom_expression_args.read(), heavydb.thrift.Heavy.delete_custom_expressions_args.read(), heavydb.thrift.Heavy.get_dashboard_args.read(), heavydb.thrift.Heavy.get_dashboards_args.read(), heavydb.thrift.Heavy.create_dashboard_args.read(), heavydb.thrift.Heavy.replace_dashboard_args.read(), heavydb.thrift.Heavy.delete_dashboard_args.read(), heavydb.thrift.Heavy.share_dashboards_args.read(), heavydb.thrift.Heavy.delete_dashboards_args.read(), heavydb.thrift.Heavy.share_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboard_args.read(), heavydb.thrift.Heavy.unshare_dashboards_args.read(), heavydb.thrift.Heavy.get_dashboard_grantees_args.read(), heavydb.thrift.Heavy.get_link_view_args.read(), heavydb.thrift.Heavy.create_link_args.read(), heavydb.thrift.Heavy.load_table_binary_args.read(), heavydb.thrift.Heavy.load_table_binary_columnar_args.read(), heavydb.thrift.Heavy.load_table_binary_columnar_polys_args.read(), heavydb.thrift.Heavy.load_table_binary_arrow_args.read(), heavydb.thrift.Heavy.load_table_args.read(), heavydb.thrift.Heavy.detect_column_types_args.read(), heavydb.thrift.Heavy.create_table_args.read(), heavydb.thrift.Heavy.import_table_args.read(), heavydb.thrift.Heavy.import_geo_table_args.read(), heavydb.thrift.Heavy.import_table_status_args.read(), heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.read(), heavydb.thrift.Heavy.get_all_files_in_archive_args.read(), heavydb.thrift.Heavy.get_layers_in_geo_file_args.read(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.read(), heavydb.thrift.Heavy.check_table_consistency_args.read(), heavydb.thrift.Heavy.start_render_query_args.read(), heavydb.thrift.Heavy.insert_data_args.read(), heavydb.thrift.Heavy.insert_chunks_args.read(), heavydb.thrift.Heavy.checkpoint_args.read(), heavydb.thrift.Heavy.get_roles_args.read(), heavydb.thrift.Heavy.get_db_objects_for_grantee_args.read(), heavydb.thrift.Heavy.get_db_object_privs_args.read(), heavydb.thrift.Heavy.get_all_roles_for_user_args.read(), heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.read(), heavydb.thrift.Heavy.has_role_args.read(), heavydb.thrift.Heavy.has_object_privilege_args.read(), heavydb.thrift.Heavy.set_license_key_args.read(), heavydb.thrift.Heavy.get_license_claims_args.read(), heavydb.thrift.Heavy.get_device_parameters_args.read(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.read(), heavydb.thrift.Heavy.get_table_function_names_args.read(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.read(), heavydb.thrift.Heavy.get_table_function_details_args.read(), heavydb.thrift.Heavy.sql_execute_args.write(), heavydb.thrift.Heavy.sql_execute_df_args.write(), heavydb.thrift.Heavy.sql_execute_gdf_args.write(), heavydb.thrift.Heavy.deallocate_df_args.write(), heavydb.thrift.Heavy.sql_validate_args.write(), heavydb.thrift.Heavy.get_completion_hints_args.write(), heavydb.thrift.Heavy.set_execution_mode_args.write(), heavydb.thrift.Heavy.render_vega_args.write(), heavydb.thrift.Heavy.get_result_row_for_pixel_args.write(), heavydb.thrift.Heavy.create_custom_expression_args.write(), heavydb.thrift.Heavy.get_custom_expressions_args.write(), heavydb.thrift.Heavy.update_custom_expression_args.write(), heavydb.thrift.Heavy.delete_custom_expressions_args.write(), heavydb.thrift.Heavy.get_dashboard_args.write(), heavydb.thrift.Heavy.get_dashboards_args.write(), heavydb.thrift.Heavy.create_dashboard_args.write(), heavydb.thrift.Heavy.replace_dashboard_args.write(), heavydb.thrift.Heavy.delete_dashboard_args.write(), heavydb.thrift.Heavy.share_dashboards_args.write(), heavydb.thrift.Heavy.delete_dashboards_args.write(), heavydb.thrift.Heavy.share_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboard_args.write(), heavydb.thrift.Heavy.unshare_dashboards_args.write(), heavydb.thrift.Heavy.get_dashboard_grantees_args.write(), heavydb.thrift.Heavy.get_link_view_args.write(), heavydb.thrift.Heavy.create_link_args.write(), heavydb.thrift.Heavy.load_table_binary_args.write(), heavydb.thrift.Heavy.load_table_binary_columnar_args.write(), heavydb.thrift.Heavy.load_table_binary_columnar_polys_args.write(), heavydb.thrift.Heavy.load_table_binary_arrow_args.write(), heavydb.thrift.Heavy.load_table_args.write(), heavydb.thrift.Heavy.detect_column_types_args.write(), heavydb.thrift.Heavy.create_table_args.write(), heavydb.thrift.Heavy.import_table_args.write(), heavydb.thrift.Heavy.import_geo_table_args.write(), heavydb.thrift.Heavy.import_table_status_args.write(), heavydb.thrift.Heavy.get_first_geo_file_in_archive_args.write(), heavydb.thrift.Heavy.get_all_files_in_archive_args.write(), heavydb.thrift.Heavy.get_layers_in_geo_file_args.write(), heavydb.thrift.Heavy.query_get_outer_fragment_count_args.write(), heavydb.thrift.Heavy.check_table_consistency_args.write(), heavydb.thrift.Heavy.start_render_query_args.write(), heavydb.thrift.Heavy.insert_data_args.write(), heavydb.thrift.Heavy.insert_chunks_args.write(), heavydb.thrift.Heavy.checkpoint_args.write(), heavydb.thrift.Heavy.get_roles_args.write(), heavydb.thrift.Heavy.get_db_objects_for_grantee_args.write(), heavydb.thrift.Heavy.get_db_object_privs_args.write(), heavydb.thrift.Heavy.get_all_roles_for_user_args.write(), heavydb.thrift.Heavy.get_all_effective_roles_for_user_args.write(), heavydb.thrift.Heavy.has_role_args.write(), heavydb.thrift.Heavy.has_object_privilege_args.write(), heavydb.thrift.Heavy.set_license_key_args.write(), heavydb.thrift.Heavy.get_license_claims_args.write(), heavydb.thrift.Heavy.get_device_parameters_args.write(), heavydb.thrift.Heavy.register_runtime_extension_functions_args.write(), heavydb.thrift.Heavy.get_table_function_names_args.write(), heavydb.thrift.Heavy.get_runtime_table_function_names_args.write(), and heavydb.thrift.Heavy.get_table_function_details_args.write().


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