OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TQueryInfo Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TQueryInfo:
+ Collaboration diagram for heavydb.thrift.ttypes.TQueryInfo:

Public Member Functions

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

Public Attributes

 query_session_id
 
 query_public_session_id
 
 current_status
 
 executor_id
 
 submitted
 
 query_str
 
 login_name
 
 client_address
 
 db_name
 
 exec_device_type
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - query_session_id
 - query_public_session_id
 - current_status
 - executor_id
 - submitted
 - query_str
 - login_name
 - client_address
 - db_name
 - exec_device_type

Definition at line 7116 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TQueryInfo.__init__ (   self,
  query_session_id = None,
  query_public_session_id = None,
  current_status = None,
  executor_id = None,
  submitted = None,
  query_str = None,
  login_name = None,
  client_address = None,
  db_name = None,
  exec_device_type = None 
)

Definition at line 7133 of file ttypes.py.

7134  def __init__(self, query_session_id=None, query_public_session_id=None, current_status=None, executor_id=None, submitted=None, query_str=None, login_name=None, client_address=None, db_name=None, exec_device_type=None,):
7135  self.query_session_id = query_session_id
7136  self.query_public_session_id = query_public_session_id
7137  self.current_status = current_status
7138  self.executor_id = executor_id
7139  self.submitted = submitted
7140  self.query_str = query_str
7141  self.login_name = login_name
7142  self.client_address = client_address
7143  self.db_name = db_name
7144  self.exec_device_type = exec_device_type

Member Function Documentation

def heavydb.thrift.ttypes.TQueryInfo.__eq__ (   self,
  other 
)

Definition at line 7265 of file ttypes.py.

7266  def __eq__(self, other):
7267  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TQueryInfo.__ne__ (   self,
  other 
)

Definition at line 7268 of file ttypes.py.

7269  def __ne__(self, other):
7270  return not (self == other)
7271 
def heavydb.thrift.ttypes.TQueryInfo.__repr__ (   self)

Definition at line 7260 of file ttypes.py.

7261  def __repr__(self):
7262  L = ['%s=%r' % (key, value)
7263  for key, value in self.__dict__.items()]
7264  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.ttypes.TQueryInfo.read (   self,
  iprot 
)

Definition at line 7145 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryInfo.client_address, heavydb.thrift.ttypes.TQueryInfo.current_status, AlterTableAlterColumnCommandRecoveryMgr::RecoveryParamFilepathInfo.db_name, create_table.SyntheticTable.db_name, ai.heavy.jdbc.Options.db_name, heavydb.thrift.ttypes.TDBInfo.db_name, heavydb.thrift.ttypes.TQueryInfo.db_name, heavydb.thrift.ttypes.TQueryInfo.exec_device_type, heavydb.thrift.ttypes.TQueryInfo.executor_id, heavydb.thrift.ttypes.TQueryInfo.login_name, heavydb.thrift.ttypes.TQueryInfo.query_public_session_id, heavydb.thrift.ttypes.TQueryInfo.query_session_id, heavydb.thrift.ttypes.TQueryInfo.query_str, and heavydb.thrift.ttypes.TQueryInfo.submitted.

7146  def read(self, iprot):
7147  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
7148  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
7149  return
7150  iprot.readStructBegin()
7151  while True:
7152  (fname, ftype, fid) = iprot.readFieldBegin()
7153  if ftype == TType.STOP:
7154  break
7155  if fid == 1:
7156  if ftype == TType.STRING:
7157  self.query_session_id = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7158  else:
7159  iprot.skip(ftype)
7160  elif fid == 2:
7161  if ftype == TType.STRING:
7162  self.query_public_session_id = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7163  else:
7164  iprot.skip(ftype)
7165  elif fid == 3:
7166  if ftype == TType.STRING:
7167  self.current_status = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7168  else:
7169  iprot.skip(ftype)
7170  elif fid == 4:
7171  if ftype == TType.I32:
7172  self.executor_id = iprot.readI32()
7173  else:
7174  iprot.skip(ftype)
7175  elif fid == 5:
7176  if ftype == TType.STRING:
7177  self.submitted = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7178  else:
7179  iprot.skip(ftype)
7180  elif fid == 6:
7181  if ftype == TType.STRING:
7182  self.query_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7183  else:
7184  iprot.skip(ftype)
7185  elif fid == 7:
7186  if ftype == TType.STRING:
7187  self.login_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7188  else:
7189  iprot.skip(ftype)
7190  elif fid == 8:
7191  if ftype == TType.STRING:
7192  self.client_address = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7193  else:
7194  iprot.skip(ftype)
7195  elif fid == 9:
7196  if ftype == TType.STRING:
7197  self.db_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7198  else:
7199  iprot.skip(ftype)
7200  elif fid == 10:
7201  if ftype == TType.STRING:
7202  self.exec_device_type = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7203  else:
7204  iprot.skip(ftype)
7205  else:
7206  iprot.skip(ftype)
7207  iprot.readFieldEnd()
7208  iprot.readStructEnd()
def heavydb.thrift.ttypes.TQueryInfo.validate (   self)

Definition at line 7257 of file ttypes.py.

7258  def validate(self):
7259  return
def heavydb.thrift.ttypes.TQueryInfo.write (   self,
  oprot 
)

Definition at line 7209 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryInfo.client_address, heavydb.thrift.ttypes.TQueryInfo.current_status, AlterTableAlterColumnCommandRecoveryMgr::RecoveryParamFilepathInfo.db_name, create_table.SyntheticTable.db_name, ai.heavy.jdbc.Options.db_name, heavydb.thrift.ttypes.TDBInfo.db_name, heavydb.thrift.ttypes.TQueryInfo.db_name, heavydb.thrift.ttypes.TQueryInfo.exec_device_type, heavydb.thrift.ttypes.TQueryInfo.executor_id, heavydb.thrift.ttypes.TQueryInfo.login_name, heavydb.thrift.ttypes.TQueryInfo.query_public_session_id, heavydb.thrift.ttypes.TQueryInfo.query_session_id, heavydb.thrift.ttypes.TQueryInfo.query_str, and heavydb.thrift.ttypes.TQueryInfo.submitted.

7210  def write(self, oprot):
7211  if oprot._fast_encode is not None and self.thrift_spec is not None:
7212  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7213  return
7214  oprot.writeStructBegin('TQueryInfo')
7215  if self.query_session_id is not None:
7216  oprot.writeFieldBegin('query_session_id', TType.STRING, 1)
7217  oprot.writeString(self.query_session_id.encode('utf-8') if sys.version_info[0] == 2 else self.query_session_id)
7218  oprot.writeFieldEnd()
7219  if self.query_public_session_id is not None:
7220  oprot.writeFieldBegin('query_public_session_id', TType.STRING, 2)
7221  oprot.writeString(self.query_public_session_id.encode('utf-8') if sys.version_info[0] == 2 else self.query_public_session_id)
7222  oprot.writeFieldEnd()
7223  if self.current_status is not None:
7224  oprot.writeFieldBegin('current_status', TType.STRING, 3)
7225  oprot.writeString(self.current_status.encode('utf-8') if sys.version_info[0] == 2 else self.current_status)
7226  oprot.writeFieldEnd()
7227  if self.executor_id is not None:
7228  oprot.writeFieldBegin('executor_id', TType.I32, 4)
7229  oprot.writeI32(self.executor_id)
7230  oprot.writeFieldEnd()
7231  if self.submitted is not None:
7232  oprot.writeFieldBegin('submitted', TType.STRING, 5)
7233  oprot.writeString(self.submitted.encode('utf-8') if sys.version_info[0] == 2 else self.submitted)
7234  oprot.writeFieldEnd()
7235  if self.query_str is not None:
7236  oprot.writeFieldBegin('query_str', TType.STRING, 6)
7237  oprot.writeString(self.query_str.encode('utf-8') if sys.version_info[0] == 2 else self.query_str)
7238  oprot.writeFieldEnd()
7239  if self.login_name is not None:
7240  oprot.writeFieldBegin('login_name', TType.STRING, 7)
7241  oprot.writeString(self.login_name.encode('utf-8') if sys.version_info[0] == 2 else self.login_name)
7242  oprot.writeFieldEnd()
7243  if self.client_address is not None:
7244  oprot.writeFieldBegin('client_address', TType.STRING, 8)
7245  oprot.writeString(self.client_address.encode('utf-8') if sys.version_info[0] == 2 else self.client_address)
7246  oprot.writeFieldEnd()
7247  if self.db_name is not None:
7248  oprot.writeFieldBegin('db_name', TType.STRING, 9)
7249  oprot.writeString(self.db_name.encode('utf-8') if sys.version_info[0] == 2 else self.db_name)
7250  oprot.writeFieldEnd()
7251  if self.exec_device_type is not None:
7252  oprot.writeFieldBegin('exec_device_type', TType.STRING, 10)
7253  oprot.writeString(self.exec_device_type.encode('utf-8') if sys.version_info[0] == 2 else self.exec_device_type)
7254  oprot.writeFieldEnd()
7255  oprot.writeFieldStop()
7256  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TQueryInfo.__dict__
private

Definition at line 7266 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TQueryInfo.client_address

Definition at line 7141 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.current_status

Definition at line 7136 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.db_name

Definition at line 7142 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.exec_device_type

Definition at line 7143 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.executor_id

Definition at line 7137 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.login_name

Definition at line 7140 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.query_public_session_id

Definition at line 7135 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.query_session_id

Definition at line 7134 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.query_str

Definition at line 7139 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().

heavydb.thrift.ttypes.TQueryInfo.submitted

Definition at line 7138 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TQueryInfo.read(), and heavydb.thrift.ttypes.TQueryInfo.write().


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