OmniSciDB  a7179b2938
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.OmniSci.execute_next_render_step_args Class Reference
+ Inheritance diagram for omnisci.thrift.OmniSci.execute_next_render_step_args:
+ Collaboration diagram for omnisci.thrift.OmniSci.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 16830 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.execute_next_render_step_args.__init__ (   self,
  pending_render = None,
  merged_data = None 
)

Definition at line 16839 of file OmniSci.py.

16840  def __init__(self, pending_render=None, merged_data=None,):
16841  self.pending_render = pending_render
16842  self.merged_data = merged_data

Member Function Documentation

def omnisci.thrift.OmniSci.execute_next_render_step_args.__eq__ (   self,
  other 
)

Definition at line 16941 of file OmniSci.py.

16942  def __eq__(self, other):
16943  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.execute_next_render_step_args.__ne__ (   self,
  other 
)

Definition at line 16944 of file OmniSci.py.

16945  def __ne__(self, other):
16946  return not (self == other)
16947 all_structs.append(execute_next_render_step_args)
execute_next_render_step_args.thrift_spec = (
def omnisci.thrift.OmniSci.execute_next_render_step_args.__repr__ (   self)

Definition at line 16936 of file OmniSci.py.

16937  def __repr__(self):
16938  L = ['%s=%r' % (key, value)
16939  for key, value in self.__dict__.items()]
16940  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 omnisci.thrift.OmniSci.execute_next_render_step_args.read (   self,
  iprot 
)

Definition at line 16843 of file OmniSci.py.

References omnisci.thrift.OmniSci.execute_next_render_step_args.merged_data, and omnisci.thrift.OmniSci.execute_next_render_step_args.pending_render.

16844  def read(self, iprot):
16845  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
16846  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
16847  return
16848  iprot.readStructBegin()
16849  while True:
16850  (fname, ftype, fid) = iprot.readFieldBegin()
16851  if ftype == TType.STOP:
16852  break
16853  if fid == 1:
16854  if ftype == TType.STRUCT:
16855  self.pending_render = TPendingRenderQuery()
16856  self.pending_render.read(iprot)
16857  else:
16858  iprot.skip(ftype)
16859  elif fid == 2:
16860  if ftype == TType.MAP:
16861  self.merged_data = {}
16862  (_ktype482, _vtype483, _size481) = iprot.readMapBegin()
16863  for _i485 in range(_size481):
16864  _key486 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16865  _val487 = {}
16866  (_ktype489, _vtype490, _size488) = iprot.readMapBegin()
16867  for _i492 in range(_size488):
16868  _key493 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16869  _val494 = {}
16870  (_ktype496, _vtype497, _size495) = iprot.readMapBegin()
16871  for _i499 in range(_size495):
16872  _key500 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16873  _val501 = {}
16874  (_ktype503, _vtype504, _size502) = iprot.readMapBegin()
16875  for _i506 in range(_size502):
16876  _key507 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
16877  _val508 = []
16878  (_etype512, _size509) = iprot.readListBegin()
16879  for _i513 in range(_size509):
16880  _elem514 = TRenderDatum()
16881  _elem514.read(iprot)
16882  _val508.append(_elem514)
16883  iprot.readListEnd()
16884  _val501[_key507] = _val508
16885  iprot.readMapEnd()
16886  _val494[_key500] = _val501
16887  iprot.readMapEnd()
16888  _val487[_key493] = _val494
16889  iprot.readMapEnd()
16890  self.merged_data[_key486] = _val487
16891  iprot.readMapEnd()
16892  else:
16893  iprot.skip(ftype)
16894  else:
16895  iprot.skip(ftype)
16896  iprot.readFieldEnd()
16897  iprot.readStructEnd()
def omnisci.thrift.OmniSci.execute_next_render_step_args.validate (   self)

Definition at line 16933 of file OmniSci.py.

16934  def validate(self):
16935  return
def omnisci.thrift.OmniSci.execute_next_render_step_args.write (   self,
  oprot 
)

Definition at line 16898 of file OmniSci.py.

References omnisci.thrift.OmniSci.execute_next_render_step_args.merged_data, and omnisci.thrift.OmniSci.execute_next_render_step_args.pending_render.

16899  def write(self, oprot):
16900  if oprot._fast_encode is not None and self.thrift_spec is not None:
16901  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
16902  return
16903  oprot.writeStructBegin('execute_next_render_step_args')
16904  if self.pending_render is not None:
16905  oprot.writeFieldBegin('pending_render', TType.STRUCT, 1)
16906  self.pending_render.write(oprot)
16907  oprot.writeFieldEnd()
16908  if self.merged_data is not None:
16909  oprot.writeFieldBegin('merged_data', TType.MAP, 2)
16910  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merged_data))
16911  for kiter515, viter516 in self.merged_data.items():
16912  oprot.writeString(kiter515.encode('utf-8') if sys.version_info[0] == 2 else kiter515)
16913  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter516))
16914  for kiter517, viter518 in viter516.items():
16915  oprot.writeString(kiter517.encode('utf-8') if sys.version_info[0] == 2 else kiter517)
16916  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter518))
16917  for kiter519, viter520 in viter518.items():
16918  oprot.writeString(kiter519.encode('utf-8') if sys.version_info[0] == 2 else kiter519)
16919  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter520))
16920  for kiter521, viter522 in viter520.items():
16921  oprot.writeString(kiter521.encode('utf-8') if sys.version_info[0] == 2 else kiter521)
16922  oprot.writeListBegin(TType.STRUCT, len(viter522))
16923  for iter523 in viter522:
16924  iter523.write(oprot)
16925  oprot.writeListEnd()
16926  oprot.writeMapEnd()
16927  oprot.writeMapEnd()
16928  oprot.writeMapEnd()
16929  oprot.writeMapEnd()
16930  oprot.writeFieldEnd()
16931  oprot.writeFieldStop()
16932  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.execute_next_render_step_args.__dict__
private

Definition at line 16942 of file OmniSci.py.

omnisci.thrift.OmniSci.execute_next_render_step_args.merged_data

Definition at line 16841 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.execute_next_render_step_args.read(), and omnisci.thrift.OmniSci.execute_next_render_step_args.write().

omnisci.thrift.OmniSci.execute_next_render_step_args.pending_render

Definition at line 16840 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.execute_next_render_step_args.read(), and omnisci.thrift.OmniSci.execute_next_render_step_args.write().


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