OmniSciDB  340b00dbf6
 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 9982 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 9995 of file OmniSci.py.

9996  def __init__(self, session=None, query=None, column_format=None, nonce=None, first_n=-1, at_most_n=-1,):
9997  self.session = session
9998  self.query = query
9999  self.column_format = column_format
10000  self.nonce = nonce
10001  self.first_n = first_n
10002  self.at_most_n = at_most_n

Member Function Documentation

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

Definition at line 10087 of file OmniSci.py.

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

Definition at line 10090 of file OmniSci.py.

10091  def __ne__(self, other):
10092  return not (self == other)
10093 all_structs.append(sql_execute_args)
sql_execute_args.thrift_spec = (
def omnisci.thrift.OmniSci.sql_execute_args.__repr__ (   self)

Definition at line 10082 of file OmniSci.py.

10083  def __repr__(self):
10084  L = ['%s=%r' % (key, value)
10085  for key, value in self.__dict__.items()]
10086  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 10003 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_session_info_args.session, and omnisci.thrift.OmniSci.sql_execute_args.session.

10004  def read(self, iprot):
10005  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
10006  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
10007  return
10008  iprot.readStructBegin()
10009  while True:
10010  (fname, ftype, fid) = iprot.readFieldBegin()
10011  if ftype == TType.STOP:
10012  break
10013  if fid == 1:
10014  if ftype == TType.STRING:
10015  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10016  else:
10017  iprot.skip(ftype)
10018  elif fid == 2:
10019  if ftype == TType.STRING:
10020  self.query = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10021  else:
10022  iprot.skip(ftype)
10023  elif fid == 3:
10024  if ftype == TType.BOOL:
10025  self.column_format = iprot.readBool()
10026  else:
10027  iprot.skip(ftype)
10028  elif fid == 4:
10029  if ftype == TType.STRING:
10030  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
10031  else:
10032  iprot.skip(ftype)
10033  elif fid == 5:
10034  if ftype == TType.I32:
10035  self.first_n = iprot.readI32()
10036  else:
10037  iprot.skip(ftype)
10038  elif fid == 6:
10039  if ftype == TType.I32:
10040  self.at_most_n = iprot.readI32()
10041  else:
10042  iprot.skip(ftype)
10043  else:
10044  iprot.skip(ftype)
10045  iprot.readFieldEnd()
10046  iprot.readStructEnd()
def omnisci.thrift.OmniSci.sql_execute_args.validate (   self)

Definition at line 10079 of file OmniSci.py.

10080  def validate(self):
10081  return
def omnisci.thrift.OmniSci.sql_execute_args.write (   self,
  oprot 
)

Definition at line 10047 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_session_info_args.session, and omnisci.thrift.OmniSci.sql_execute_args.session.

10048  def write(self, oprot):
10049  if oprot._fast_encode is not None and self.thrift_spec is not None:
10050  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
10051  return
10052  oprot.writeStructBegin('sql_execute_args')
10053  if self.session is not None:
10054  oprot.writeFieldBegin('session', TType.STRING, 1)
10055  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
10056  oprot.writeFieldEnd()
10057  if self.query is not None:
10058  oprot.writeFieldBegin('query', TType.STRING, 2)
10059  oprot.writeString(self.query.encode('utf-8') if sys.version_info[0] == 2 else self.query)
10060  oprot.writeFieldEnd()
10061  if self.column_format is not None:
10062  oprot.writeFieldBegin('column_format', TType.BOOL, 3)
10063  oprot.writeBool(self.column_format)
10064  oprot.writeFieldEnd()
10065  if self.nonce is not None:
10066  oprot.writeFieldBegin('nonce', TType.STRING, 4)
10067  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
10068  oprot.writeFieldEnd()
10069  if self.first_n is not None:
10070  oprot.writeFieldBegin('first_n', TType.I32, 5)
10071  oprot.writeI32(self.first_n)
10072  oprot.writeFieldEnd()
10073  if self.at_most_n is not None:
10074  oprot.writeFieldBegin('at_most_n', TType.I32, 6)
10075  oprot.writeI32(self.at_most_n)
10076  oprot.writeFieldEnd()
10077  oprot.writeFieldStop()
10078  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.sql_execute_args.__dict__
private

Definition at line 10088 of file OmniSci.py.

omnisci.thrift.OmniSci.sql_execute_args.at_most_n

Definition at line 10001 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 9998 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 10000 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 9999 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 9997 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 9996 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: