OmniSciDB  a5dc49c757
 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 20430 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 20439 of file Heavy.py.

20440  def __init__(self, pending_render=None, merged_data=None,):
20441  self.pending_render = pending_render
20442  self.merged_data = merged_data

Member Function Documentation

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

Definition at line 20541 of file Heavy.py.

20542  def __eq__(self, other):
20543  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 20544 of file Heavy.py.

20545  def __ne__(self, other):
20546  return not (self == other)
20547 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 20536 of file Heavy.py.

20537  def __repr__(self):
20538  L = ['%s=%r' % (key, value)
20539  for key, value in self.__dict__.items()]
20540  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 20443 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.

20444  def read(self, iprot):
20445  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
20446  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
20447  return
20448  iprot.readStructBegin()
20449  while True:
20450  (fname, ftype, fid) = iprot.readFieldBegin()
20451  if ftype == TType.STOP:
20452  break
20453  if fid == 1:
20454  if ftype == TType.STRUCT:
20455  self.pending_render = TPendingRenderQuery()
20456  self.pending_render.read(iprot)
20457  else:
20458  iprot.skip(ftype)
20459  elif fid == 2:
20460  if ftype == TType.MAP:
20461  self.merged_data = {}
20462  (_ktype573, _vtype574, _size572) = iprot.readMapBegin()
20463  for _i576 in range(_size572):
20464  _key577 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20465  _val578 = {}
20466  (_ktype580, _vtype581, _size579) = iprot.readMapBegin()
20467  for _i583 in range(_size579):
20468  _key584 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20469  _val585 = {}
20470  (_ktype587, _vtype588, _size586) = iprot.readMapBegin()
20471  for _i590 in range(_size586):
20472  _key591 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20473  _val592 = {}
20474  (_ktype594, _vtype595, _size593) = iprot.readMapBegin()
20475  for _i597 in range(_size593):
20476  _key598 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
20477  _val599 = []
20478  (_etype603, _size600) = iprot.readListBegin()
20479  for _i604 in range(_size600):
20480  _elem605 = TRenderDatum()
20481  _elem605.read(iprot)
20482  _val599.append(_elem605)
20483  iprot.readListEnd()
20484  _val592[_key598] = _val599
20485  iprot.readMapEnd()
20486  _val585[_key591] = _val592
20487  iprot.readMapEnd()
20488  _val578[_key584] = _val585
20489  iprot.readMapEnd()
20490  self.merged_data[_key577] = _val578
20491  iprot.readMapEnd()
20492  else:
20493  iprot.skip(ftype)
20494  else:
20495  iprot.skip(ftype)
20496  iprot.readFieldEnd()
20497  iprot.readStructEnd()
def heavydb.thrift.Heavy.execute_next_render_step_args.validate (   self)

Definition at line 20533 of file Heavy.py.

20534  def validate(self):
20535  return
def heavydb.thrift.Heavy.execute_next_render_step_args.write (   self,
  oprot 
)

Definition at line 20498 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.

20499  def write(self, oprot):
20500  if oprot._fast_encode is not None and self.thrift_spec is not None:
20501  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
20502  return
20503  oprot.writeStructBegin('execute_next_render_step_args')
20504  if self.pending_render is not None:
20505  oprot.writeFieldBegin('pending_render', TType.STRUCT, 1)
20506  self.pending_render.write(oprot)
20507  oprot.writeFieldEnd()
20508  if self.merged_data is not None:
20509  oprot.writeFieldBegin('merged_data', TType.MAP, 2)
20510  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merged_data))
20511  for kiter606, viter607 in self.merged_data.items():
20512  oprot.writeString(kiter606.encode('utf-8') if sys.version_info[0] == 2 else kiter606)
20513  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter607))
20514  for kiter608, viter609 in viter607.items():
20515  oprot.writeString(kiter608.encode('utf-8') if sys.version_info[0] == 2 else kiter608)
20516  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter609))
20517  for kiter610, viter611 in viter609.items():
20518  oprot.writeString(kiter610.encode('utf-8') if sys.version_info[0] == 2 else kiter610)
20519  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter611))
20520  for kiter612, viter613 in viter611.items():
20521  oprot.writeString(kiter612.encode('utf-8') if sys.version_info[0] == 2 else kiter612)
20522  oprot.writeListBegin(TType.STRUCT, len(viter613))
20523  for iter614 in viter613:
20524  iter614.write(oprot)
20525  oprot.writeListEnd()
20526  oprot.writeMapEnd()
20527  oprot.writeMapEnd()
20528  oprot.writeMapEnd()
20529  oprot.writeMapEnd()
20530  oprot.writeFieldEnd()
20531  oprot.writeFieldStop()
20532  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.Heavy.execute_next_render_step_args.__dict__
private

Definition at line 20542 of file Heavy.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.Heavy.execute_next_render_step_args.merged_data

Definition at line 20441 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 20440 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: