OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.Heavy.execute_query_step_args Class Reference
+ Inheritance diagram for heavydb.thrift.Heavy.execute_query_step_args:
+ Collaboration diagram for heavydb.thrift.Heavy.execute_query_step_args:

Public Member Functions

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

Public Attributes

 pending_query
 
 subquery_id
 
 start_time_str
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - pending_query
 - subquery_id
 - start_time_str

Definition at line 19915 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.execute_query_step_args.__init__ (   self,
  pending_query = None,
  subquery_id = None,
  start_time_str = None 
)

Definition at line 19925 of file Heavy.py.

19926  def __init__(self, pending_query=None, subquery_id=None, start_time_str=None,):
19927  self.pending_query = pending_query
19928  self.subquery_id = subquery_id
19929  self.start_time_str = start_time_str

Member Function Documentation

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

Definition at line 19988 of file Heavy.py.

19989  def __eq__(self, other):
19990  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.execute_query_step_args.__ne__ (   self,
  other 
)

Definition at line 19991 of file Heavy.py.

19992  def __ne__(self, other):
19993  return not (self == other)
19994 all_structs.append(execute_query_step_args)
execute_query_step_args.thrift_spec = (
def heavydb.thrift.Heavy.execute_query_step_args.__repr__ (   self)

Definition at line 19983 of file Heavy.py.

19984  def __repr__(self):
19985  L = ['%s=%r' % (key, value)
19986  for key, value in self.__dict__.items()]
19987  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.execute_query_step_args.read (   self,
  iprot 
)

Definition at line 19930 of file Heavy.py.

References heavydb.thrift.Heavy.execute_query_step_args.pending_query, heavydb.thrift.Heavy.set_cur_session_args.start_time_str, heavydb.thrift.Heavy.invalidate_cur_session_args.start_time_str, heavydb.thrift.Heavy.start_query_args.start_time_str, heavydb.thrift.Heavy.execute_query_step_args.start_time_str, and heavydb.thrift.Heavy.execute_query_step_args.subquery_id.

19931  def read(self, iprot):
19932  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
19933  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
19934  return
19935  iprot.readStructBegin()
19936  while True:
19937  (fname, ftype, fid) = iprot.readFieldBegin()
19938  if ftype == TType.STOP:
19939  break
19940  if fid == 1:
19941  if ftype == TType.STRUCT:
19942  self.pending_query = TPendingQuery()
19943  self.pending_query.read(iprot)
19944  else:
19945  iprot.skip(ftype)
19946  elif fid == 2:
19947  if ftype == TType.I64:
19948  self.subquery_id = iprot.readI64()
19949  else:
19950  iprot.skip(ftype)
19951  elif fid == 3:
19952  if ftype == TType.STRING:
19953  self.start_time_str = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
19954  else:
19955  iprot.skip(ftype)
19956  else:
19957  iprot.skip(ftype)
19958  iprot.readFieldEnd()
19959  iprot.readStructEnd()
def heavydb.thrift.Heavy.execute_query_step_args.validate (   self)

Definition at line 19980 of file Heavy.py.

19981  def validate(self):
19982  return
def heavydb.thrift.Heavy.execute_query_step_args.write (   self,
  oprot 
)

Definition at line 19960 of file Heavy.py.

References heavydb.thrift.Heavy.execute_query_step_args.pending_query, heavydb.thrift.Heavy.set_cur_session_args.start_time_str, heavydb.thrift.Heavy.invalidate_cur_session_args.start_time_str, heavydb.thrift.Heavy.start_query_args.start_time_str, heavydb.thrift.Heavy.execute_query_step_args.start_time_str, and heavydb.thrift.Heavy.execute_query_step_args.subquery_id.

19961  def write(self, oprot):
19962  if oprot._fast_encode is not None and self.thrift_spec is not None:
19963  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
19964  return
19965  oprot.writeStructBegin('execute_query_step_args')
19966  if self.pending_query is not None:
19967  oprot.writeFieldBegin('pending_query', TType.STRUCT, 1)
19968  self.pending_query.write(oprot)
19969  oprot.writeFieldEnd()
19970  if self.subquery_id is not None:
19971  oprot.writeFieldBegin('subquery_id', TType.I64, 2)
19972  oprot.writeI64(self.subquery_id)
19973  oprot.writeFieldEnd()
19974  if self.start_time_str is not None:
19975  oprot.writeFieldBegin('start_time_str', TType.STRING, 3)
19976  oprot.writeString(self.start_time_str.encode('utf-8') if sys.version_info[0] == 2 else self.start_time_str)
19977  oprot.writeFieldEnd()
19978  oprot.writeFieldStop()
19979  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.execute_query_step_args.__dict__
private

Definition at line 19989 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.execute_query_step_args.pending_query

Definition at line 19926 of file Heavy.py.

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

heavydb.thrift.Heavy.execute_query_step_args.start_time_str

Definition at line 19928 of file Heavy.py.

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

heavydb.thrift.Heavy.execute_query_step_args.subquery_id

Definition at line 19927 of file Heavy.py.

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


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