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

Public Member Functions

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

Public Attributes

 pending_render
 
 merged_data
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - pending_render
 - merged_data

Definition at line 20493 of file Heavy.py.

Constructor & Destructor Documentation

def heavydb.thrift.Heavy.execute_next_render_step_args.__init__ (   self,
  pending_render = None,
  merged_data = None 
)

Definition at line 20502 of file Heavy.py.

20503  def __init__(self, pending_render=None, merged_data=None,):
20504  self.pending_render = pending_render
20505  self.merged_data = merged_data

Member Function Documentation

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

Definition at line 20604 of file Heavy.py.

20605  def __eq__(self, other):
20606  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.Heavy.execute_next_render_step_args.__ne__ (   self,
  other 
)

Definition at line 20607 of file Heavy.py.

20608  def __ne__(self, other):
20609  return not (self == other)
20610 all_structs.append(execute_next_render_step_args)
execute_next_render_step_args.thrift_spec = (
def heavydb.thrift.Heavy.execute_next_render_step_args.__repr__ (   self)

Definition at line 20599 of file Heavy.py.

20600  def __repr__(self):
20601  L = ['%s=%r' % (key, value)
20602  for key, value in self.__dict__.items()]
20603  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_next_render_step_args.read (   self,
  iprot 
)

Definition at line 20506 of file Heavy.py.

References heavydb.thrift.Heavy.execute_next_render_step_args.merged_data, and heavydb.thrift.Heavy.execute_next_render_step_args.pending_render.

20507  def read(self, iprot):
20508  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
20509  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
20510  return
20511  iprot.readStructBegin()
20512  while True:
20513  (fname, ftype, fid) = iprot.readFieldBegin()
20514  if ftype == TType.STOP:
20515  break
20516  if fid == 1:
20517  if ftype == TType.STRUCT:
20518  self.pending_render = TPendingRenderQuery()
20519  self.pending_render.read(iprot)
20520  else:
20521  iprot.skip(ftype)
20522  elif fid == 2:
20523  if ftype == TType.MAP:
20524  self.merged_data = {}
20525  (_ktype580, _vtype581, _size579) = iprot.readMapBegin()
20526  for _i583 in range(_size579):
20527  _key584 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20528  _val585 = {}
20529  (_ktype587, _vtype588, _size586) = iprot.readMapBegin()
20530  for _i590 in range(_size586):
20531  _key591 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20532  _val592 = {}
20533  (_ktype594, _vtype595, _size593) = iprot.readMapBegin()
20534  for _i597 in range(_size593):
20535  _key598 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20536  _val599 = {}
20537  (_ktype601, _vtype602, _size600) = iprot.readMapBegin()
20538  for _i604 in range(_size600):
20539  _key605 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20540  _val606 = []
20541  (_etype610, _size607) = iprot.readListBegin()
20542  for _i611 in range(_size607):
20543  _elem612 = TRenderDatum()
20544  _elem612.read(iprot)
20545  _val606.append(_elem612)
20546  iprot.readListEnd()
20547  _val599[_key605] = _val606
20548  iprot.readMapEnd()
20549  _val592[_key598] = _val599
20550  iprot.readMapEnd()
20551  _val585[_key591] = _val592
20552  iprot.readMapEnd()
20553  self.merged_data[_key584] = _val585
20554  iprot.readMapEnd()
20555  else:
20556  iprot.skip(ftype)
20557  else:
20558  iprot.skip(ftype)
20559  iprot.readFieldEnd()
20560  iprot.readStructEnd()
def heavydb.thrift.Heavy.execute_next_render_step_args.validate (   self)

Definition at line 20596 of file Heavy.py.

20597  def validate(self):
20598  return
def heavydb.thrift.Heavy.execute_next_render_step_args.write (   self,
  oprot 
)

Definition at line 20561 of file Heavy.py.

References heavydb.thrift.Heavy.execute_next_render_step_args.merged_data, and heavydb.thrift.Heavy.execute_next_render_step_args.pending_render.

20562  def write(self, oprot):
20563  if oprot._fast_encode is not None and self.thrift_spec is not None:
20564  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
20565  return
20566  oprot.writeStructBegin('execute_next_render_step_args')
20567  if self.pending_render is not None:
20568  oprot.writeFieldBegin('pending_render', TType.STRUCT, 1)
20569  self.pending_render.write(oprot)
20570  oprot.writeFieldEnd()
20571  if self.merged_data is not None:
20572  oprot.writeFieldBegin('merged_data', TType.MAP, 2)
20573  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merged_data))
20574  for kiter613, viter614 in self.merged_data.items():
20575  oprot.writeString(kiter613.encode('utf-8') if sys.version_info[0] == 2 else kiter613)
20576  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter614))
20577  for kiter615, viter616 in viter614.items():
20578  oprot.writeString(kiter615.encode('utf-8') if sys.version_info[0] == 2 else kiter615)
20579  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter616))
20580  for kiter617, viter618 in viter616.items():
20581  oprot.writeString(kiter617.encode('utf-8') if sys.version_info[0] == 2 else kiter617)
20582  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter618))
20583  for kiter619, viter620 in viter618.items():
20584  oprot.writeString(kiter619.encode('utf-8') if sys.version_info[0] == 2 else kiter619)
20585  oprot.writeListBegin(TType.STRUCT, len(viter620))
20586  for iter621 in viter620:
20587  iter621.write(oprot)
20588  oprot.writeListEnd()
20589  oprot.writeMapEnd()
20590  oprot.writeMapEnd()
20591  oprot.writeMapEnd()
20592  oprot.writeMapEnd()
20593  oprot.writeFieldEnd()
20594  oprot.writeFieldStop()
20595  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.execute_next_render_step_args.__dict__
private

Definition at line 20605 of file Heavy.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.Heavy.execute_next_render_step_args.merged_data

Definition at line 20504 of file Heavy.py.

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

heavydb.thrift.Heavy.execute_next_render_step_args.pending_render

Definition at line 20503 of file Heavy.py.

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


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