OmniSciDB  cde582ebc3
 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 6929 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 6946 of file ttypes.py.

6947  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,):
6948  self.query_session_id = query_session_id
6949  self.query_public_session_id = query_public_session_id
6950  self.current_status = current_status
6951  self.executor_id = executor_id
6952  self.submitted = submitted
6953  self.query_str = query_str
6954  self.login_name = login_name
6955  self.client_address = client_address
6956  self.db_name = db_name
6957  self.exec_device_type = exec_device_type

Member Function Documentation

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

Definition at line 7078 of file ttypes.py.

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

Definition at line 7081 of file ttypes.py.

7082  def __ne__(self, other):
7083  return not (self == other)
7084 
def heavydb.thrift.ttypes.TQueryInfo.__repr__ (   self)

Definition at line 7073 of file ttypes.py.

7074  def __repr__(self):
7075  L = ['%s=%r' % (key, value)
7076  for key, value in self.__dict__.items()]
7077  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 6958 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryInfo.client_address, heavydb.thrift.ttypes.TQueryInfo.current_status, 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.

6959  def read(self, iprot):
6960  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6961  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6962  return
6963  iprot.readStructBegin()
6964  while True:
6965  (fname, ftype, fid) = iprot.readFieldBegin()
6966  if ftype == TType.STOP:
6967  break
6968  if fid == 1:
6969  if ftype == TType.STRING:
6970  self.query_session_id = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6971  else:
6972  iprot.skip(ftype)
6973  elif fid == 2:
6974  if ftype == TType.STRING:
6975  self.query_public_session_id = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6976  else:
6977  iprot.skip(ftype)
6978  elif fid == 3:
6979  if ftype == TType.STRING:
6980  self.current_status = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6981  else:
6982  iprot.skip(ftype)
6983  elif fid == 4:
6984  if ftype == TType.I32:
6985  self.executor_id = iprot.readI32()
6986  else:
6987  iprot.skip(ftype)
6988  elif fid == 5:
6989  if ftype == TType.STRING:
6990  self.submitted = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6991  else:
6992  iprot.skip(ftype)
6993  elif fid == 6:
6994  if ftype == TType.STRING:
6995  self.query_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
6996  else:
6997  iprot.skip(ftype)
6998  elif fid == 7:
6999  if ftype == TType.STRING:
7000  self.login_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7001  else:
7002  iprot.skip(ftype)
7003  elif fid == 8:
7004  if ftype == TType.STRING:
7005  self.client_address = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7006  else:
7007  iprot.skip(ftype)
7008  elif fid == 9:
7009  if ftype == TType.STRING:
7010  self.db_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7011  else:
7012  iprot.skip(ftype)
7013  elif fid == 10:
7014  if ftype == TType.STRING:
7015  self.exec_device_type = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
7016  else:
7017  iprot.skip(ftype)
7018  else:
7019  iprot.skip(ftype)
7020  iprot.readFieldEnd()
7021  iprot.readStructEnd()
def heavydb.thrift.ttypes.TQueryInfo.validate (   self)

Definition at line 7070 of file ttypes.py.

7071  def validate(self):
7072  return
def heavydb.thrift.ttypes.TQueryInfo.write (   self,
  oprot 
)

Definition at line 7022 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryInfo.client_address, heavydb.thrift.ttypes.TQueryInfo.current_status, 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.

7023  def write(self, oprot):
7024  if oprot._fast_encode is not None and self.thrift_spec is not None:
7025  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7026  return
7027  oprot.writeStructBegin('TQueryInfo')
7028  if self.query_session_id is not None:
7029  oprot.writeFieldBegin('query_session_id', TType.STRING, 1)
7030  oprot.writeString(self.query_session_id.encode('utf-8') if sys.version_info[0] == 2 else self.query_session_id)
7031  oprot.writeFieldEnd()
7032  if self.query_public_session_id is not None:
7033  oprot.writeFieldBegin('query_public_session_id', TType.STRING, 2)
7034  oprot.writeString(self.query_public_session_id.encode('utf-8') if sys.version_info[0] == 2 else self.query_public_session_id)
7035  oprot.writeFieldEnd()
7036  if self.current_status is not None:
7037  oprot.writeFieldBegin('current_status', TType.STRING, 3)
7038  oprot.writeString(self.current_status.encode('utf-8') if sys.version_info[0] == 2 else self.current_status)
7039  oprot.writeFieldEnd()
7040  if self.executor_id is not None:
7041  oprot.writeFieldBegin('executor_id', TType.I32, 4)
7042  oprot.writeI32(self.executor_id)
7043  oprot.writeFieldEnd()
7044  if self.submitted is not None:
7045  oprot.writeFieldBegin('submitted', TType.STRING, 5)
7046  oprot.writeString(self.submitted.encode('utf-8') if sys.version_info[0] == 2 else self.submitted)
7047  oprot.writeFieldEnd()
7048  if self.query_str is not None:
7049  oprot.writeFieldBegin('query_str', TType.STRING, 6)
7050  oprot.writeString(self.query_str.encode('utf-8') if sys.version_info[0] == 2 else self.query_str)
7051  oprot.writeFieldEnd()
7052  if self.login_name is not None:
7053  oprot.writeFieldBegin('login_name', TType.STRING, 7)
7054  oprot.writeString(self.login_name.encode('utf-8') if sys.version_info[0] == 2 else self.login_name)
7055  oprot.writeFieldEnd()
7056  if self.client_address is not None:
7057  oprot.writeFieldBegin('client_address', TType.STRING, 8)
7058  oprot.writeString(self.client_address.encode('utf-8') if sys.version_info[0] == 2 else self.client_address)
7059  oprot.writeFieldEnd()
7060  if self.db_name is not None:
7061  oprot.writeFieldBegin('db_name', TType.STRING, 9)
7062  oprot.writeString(self.db_name.encode('utf-8') if sys.version_info[0] == 2 else self.db_name)
7063  oprot.writeFieldEnd()
7064  if self.exec_device_type is not None:
7065  oprot.writeFieldBegin('exec_device_type', TType.STRING, 10)
7066  oprot.writeString(self.exec_device_type.encode('utf-8') if sys.version_info[0] == 2 else self.exec_device_type)
7067  oprot.writeFieldEnd()
7068  oprot.writeFieldStop()
7069  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TQueryInfo.__dict__
private

Definition at line 7079 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TQueryInfo.client_address

Definition at line 6954 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 6949 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 6955 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 6956 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 6950 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 6953 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 6948 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 6947 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 6952 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 6951 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: