OmniSciDB  fe05a0c208
 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 17403 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 17412 of file OmniSci.py.

17413  def __init__(self, pending_render=None, merged_data=None,):
17414  self.pending_render = pending_render
17415  self.merged_data = merged_data

Member Function Documentation

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

Definition at line 17514 of file OmniSci.py.

17515  def __eq__(self, other):
17516  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 17517 of file OmniSci.py.

17518  def __ne__(self, other):
17519  return not (self == other)
17520 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 17509 of file OmniSci.py.

17510  def __repr__(self):
17511  L = ['%s=%r' % (key, value)
17512  for key, value in self.__dict__.items()]
17513  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 17416 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.

17417  def read(self, iprot):
17418  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
17419  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
17420  return
17421  iprot.readStructBegin()
17422  while True:
17423  (fname, ftype, fid) = iprot.readFieldBegin()
17424  if ftype == TType.STOP:
17425  break
17426  if fid == 1:
17427  if ftype == TType.STRUCT:
17428  self.pending_render = TPendingRenderQuery()
17429  self.pending_render.read(iprot)
17430  else:
17431  iprot.skip(ftype)
17432  elif fid == 2:
17433  if ftype == TType.MAP:
17434  self.merged_data = {}
17435  (_ktype517, _vtype518, _size516) = iprot.readMapBegin()
17436  for _i520 in range(_size516):
17437  _key521 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17438  _val522 = {}
17439  (_ktype524, _vtype525, _size523) = iprot.readMapBegin()
17440  for _i527 in range(_size523):
17441  _key528 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17442  _val529 = {}
17443  (_ktype531, _vtype532, _size530) = iprot.readMapBegin()
17444  for _i534 in range(_size530):
17445  _key535 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17446  _val536 = {}
17447  (_ktype538, _vtype539, _size537) = iprot.readMapBegin()
17448  for _i541 in range(_size537):
17449  _key542 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
17450  _val543 = []
17451  (_etype547, _size544) = iprot.readListBegin()
17452  for _i548 in range(_size544):
17453  _elem549 = TRenderDatum()
17454  _elem549.read(iprot)
17455  _val543.append(_elem549)
17456  iprot.readListEnd()
17457  _val536[_key542] = _val543
17458  iprot.readMapEnd()
17459  _val529[_key535] = _val536
17460  iprot.readMapEnd()
17461  _val522[_key528] = _val529
17462  iprot.readMapEnd()
17463  self.merged_data[_key521] = _val522
17464  iprot.readMapEnd()
17465  else:
17466  iprot.skip(ftype)
17467  else:
17468  iprot.skip(ftype)
17469  iprot.readFieldEnd()
17470  iprot.readStructEnd()
def omnisci.thrift.OmniSci.execute_next_render_step_args.validate (   self)

Definition at line 17506 of file OmniSci.py.

17507  def validate(self):
17508  return
def omnisci.thrift.OmniSci.execute_next_render_step_args.write (   self,
  oprot 
)

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

17472  def write(self, oprot):
17473  if oprot._fast_encode is not None and self.thrift_spec is not None:
17474  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
17475  return
17476  oprot.writeStructBegin('execute_next_render_step_args')
17477  if self.pending_render is not None:
17478  oprot.writeFieldBegin('pending_render', TType.STRUCT, 1)
17479  self.pending_render.write(oprot)
17480  oprot.writeFieldEnd()
17481  if self.merged_data is not None:
17482  oprot.writeFieldBegin('merged_data', TType.MAP, 2)
17483  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merged_data))
17484  for kiter550, viter551 in self.merged_data.items():
17485  oprot.writeString(kiter550.encode('utf-8') if sys.version_info[0] == 2 else kiter550)
17486  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter551))
17487  for kiter552, viter553 in viter551.items():
17488  oprot.writeString(kiter552.encode('utf-8') if sys.version_info[0] == 2 else kiter552)
17489  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter553))
17490  for kiter554, viter555 in viter553.items():
17491  oprot.writeString(kiter554.encode('utf-8') if sys.version_info[0] == 2 else kiter554)
17492  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter555))
17493  for kiter556, viter557 in viter555.items():
17494  oprot.writeString(kiter556.encode('utf-8') if sys.version_info[0] == 2 else kiter556)
17495  oprot.writeListBegin(TType.STRUCT, len(viter557))
17496  for iter558 in viter557:
17497  iter558.write(oprot)
17498  oprot.writeListEnd()
17499  oprot.writeMapEnd()
17500  oprot.writeMapEnd()
17501  oprot.writeMapEnd()
17502  oprot.writeMapEnd()
17503  oprot.writeFieldEnd()
17504  oprot.writeFieldStop()
17505  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.execute_next_render_step_args.__dict__
private

Definition at line 17515 of file OmniSci.py.

omnisci.thrift.OmniSci.execute_next_render_step_args.merged_data

Definition at line 17414 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 17413 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: