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

Public Member Functions

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

Public Attributes

 merge_data
 
 raw_pixel_data
 
 execution_time_ms
 
 render_time_ms
 
 total_time_ms
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - merge_data
 - raw_pixel_data
 - execution_time_ms
 - render_time_ms
 - total_time_ms

Definition at line 5572 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TRenderStepResult.__init__ (   self,
  merge_data = None,
  raw_pixel_data = None,
  execution_time_ms = None,
  render_time_ms = None,
  total_time_ms = None 
)

Definition at line 5584 of file ttypes.py.

5585  def __init__(self, merge_data=None, raw_pixel_data=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None,):
5586  self.merge_data = merge_data
5587  self.raw_pixel_data = raw_pixel_data
5588  self.execution_time_ms = execution_time_ms
5589  self.render_time_ms = render_time_ms
5590  self.total_time_ms = total_time_ms

Member Function Documentation

def heavydb.thrift.ttypes.TRenderStepResult.__eq__ (   self,
  other 
)

Definition at line 5716 of file ttypes.py.

5717  def __eq__(self, other):
5718  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TRenderStepResult.__ne__ (   self,
  other 
)

Definition at line 5719 of file ttypes.py.

5720  def __ne__(self, other):
5721  return not (self == other)
5722 
def heavydb.thrift.ttypes.TRenderStepResult.__repr__ (   self)

Definition at line 5711 of file ttypes.py.

5712  def __repr__(self):
5713  L = ['%s=%r' % (key, value)
5714  for key, value in self.__dict__.items()]
5715  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.ttypes.TRenderStepResult.read (   self,
  iprot 
)

Definition at line 5591 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryResult.execution_time_ms, heavydb.thrift.ttypes.TDataFrame.execution_time_ms, heavydb.thrift.ttypes.TRenderResult.execution_time_ms, heavydb.thrift.ttypes.TRenderParseResult.execution_time_ms, heavydb.thrift.ttypes.TRenderStepResult.execution_time_ms, heavydb.thrift.ttypes.TRenderStepResult.merge_data, heavydb.thrift.ttypes.TRenderStepResult.raw_pixel_data, heavydb.thrift.ttypes.TRenderResult.render_time_ms, heavydb.thrift.ttypes.TRenderParseResult.render_time_ms, heavydb.thrift.ttypes.TRenderStepResult.render_time_ms, heavydb.thrift.ttypes.TQueryResult.total_time_ms, heavydb.thrift.ttypes.TRenderResult.total_time_ms, heavydb.thrift.ttypes.TRenderParseResult.total_time_ms, and heavydb.thrift.ttypes.TRenderStepResult.total_time_ms.

5592  def read(self, iprot):
5593  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5594  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5595  return
5596  iprot.readStructBegin()
5597  while True:
5598  (fname, ftype, fid) = iprot.readFieldBegin()
5599  if ftype == TType.STOP:
5600  break
5601  if fid == 1:
5602  if ftype == TType.MAP:
5603  self.merge_data = {}
5604  (_ktype227, _vtype228, _size226) = iprot.readMapBegin()
5605  for _i230 in range(_size226):
5606  _key231 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5607  _val232 = {}
5608  (_ktype234, _vtype235, _size233) = iprot.readMapBegin()
5609  for _i237 in range(_size233):
5610  _key238 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5611  _val239 = {}
5612  (_ktype241, _vtype242, _size240) = iprot.readMapBegin()
5613  for _i244 in range(_size240):
5614  _key245 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5615  _val246 = {}
5616  (_ktype248, _vtype249, _size247) = iprot.readMapBegin()
5617  for _i251 in range(_size247):
5618  _key252 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5619  _val253 = []
5620  (_etype257, _size254) = iprot.readListBegin()
5621  for _i258 in range(_size254):
5622  _elem259 = TRenderDatum()
5623  _elem259.read(iprot)
5624  _val253.append(_elem259)
5625  iprot.readListEnd()
5626  _val246[_key252] = _val253
5627  iprot.readMapEnd()
5628  _val239[_key245] = _val246
5629  iprot.readMapEnd()
5630  _val232[_key238] = _val239
5631  iprot.readMapEnd()
5632  self.merge_data[_key231] = _val232
5633  iprot.readMapEnd()
5634  else:
5635  iprot.skip(ftype)
5636  elif fid == 2:
5637  if ftype == TType.STRUCT:
5638  self.raw_pixel_data = TRawPixelData()
5639  self.raw_pixel_data.read(iprot)
5640  else:
5641  iprot.skip(ftype)
5642  elif fid == 3:
5643  if ftype == TType.I64:
5644  self.execution_time_ms = iprot.readI64()
5645  else:
5646  iprot.skip(ftype)
5647  elif fid == 4:
5648  if ftype == TType.I64:
5649  self.render_time_ms = iprot.readI64()
5650  else:
5651  iprot.skip(ftype)
5652  elif fid == 5:
5653  if ftype == TType.I64:
5654  self.total_time_ms = iprot.readI64()
5655  else:
5656  iprot.skip(ftype)
5657  else:
5658  iprot.skip(ftype)
5659  iprot.readFieldEnd()
5660  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRenderStepResult.validate (   self)

Definition at line 5708 of file ttypes.py.

5709  def validate(self):
5710  return
def heavydb.thrift.ttypes.TRenderStepResult.write (   self,
  oprot 
)

Definition at line 5661 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryResult.execution_time_ms, heavydb.thrift.ttypes.TDataFrame.execution_time_ms, heavydb.thrift.ttypes.TRenderResult.execution_time_ms, heavydb.thrift.ttypes.TRenderParseResult.execution_time_ms, heavydb.thrift.ttypes.TRenderStepResult.execution_time_ms, heavydb.thrift.ttypes.TRenderStepResult.merge_data, heavydb.thrift.ttypes.TRenderStepResult.raw_pixel_data, heavydb.thrift.ttypes.TRenderResult.render_time_ms, heavydb.thrift.ttypes.TRenderParseResult.render_time_ms, heavydb.thrift.ttypes.TRenderStepResult.render_time_ms, heavydb.thrift.ttypes.TQueryResult.total_time_ms, heavydb.thrift.ttypes.TRenderResult.total_time_ms, heavydb.thrift.ttypes.TRenderParseResult.total_time_ms, and heavydb.thrift.ttypes.TRenderStepResult.total_time_ms.

5662  def write(self, oprot):
5663  if oprot._fast_encode is not None and self.thrift_spec is not None:
5664  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5665  return
5666  oprot.writeStructBegin('TRenderStepResult')
5667  if self.merge_data is not None:
5668  oprot.writeFieldBegin('merge_data', TType.MAP, 1)
5669  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merge_data))
5670  for kiter260, viter261 in self.merge_data.items():
5671  oprot.writeString(kiter260.encode('utf-8') if sys.version_info[0] == 2 else kiter260)
5672  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter261))
5673  for kiter262, viter263 in viter261.items():
5674  oprot.writeString(kiter262.encode('utf-8') if sys.version_info[0] == 2 else kiter262)
5675  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter263))
5676  for kiter264, viter265 in viter263.items():
5677  oprot.writeString(kiter264.encode('utf-8') if sys.version_info[0] == 2 else kiter264)
5678  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter265))
5679  for kiter266, viter267 in viter265.items():
5680  oprot.writeString(kiter266.encode('utf-8') if sys.version_info[0] == 2 else kiter266)
5681  oprot.writeListBegin(TType.STRUCT, len(viter267))
5682  for iter268 in viter267:
5683  iter268.write(oprot)
5684  oprot.writeListEnd()
5685  oprot.writeMapEnd()
5686  oprot.writeMapEnd()
5687  oprot.writeMapEnd()
5688  oprot.writeMapEnd()
5689  oprot.writeFieldEnd()
5690  if self.raw_pixel_data is not None:
5691  oprot.writeFieldBegin('raw_pixel_data', TType.STRUCT, 2)
5692  self.raw_pixel_data.write(oprot)
5693  oprot.writeFieldEnd()
5694  if self.execution_time_ms is not None:
5695  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
5696  oprot.writeI64(self.execution_time_ms)
5697  oprot.writeFieldEnd()
5698  if self.render_time_ms is not None:
5699  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
5700  oprot.writeI64(self.render_time_ms)
5701  oprot.writeFieldEnd()
5702  if self.total_time_ms is not None:
5703  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
5704  oprot.writeI64(self.total_time_ms)
5705  oprot.writeFieldEnd()
5706  oprot.writeFieldStop()
5707  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRenderStepResult.__dict__
private

Definition at line 5717 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TRenderStepResult.execution_time_ms

Definition at line 5587 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRenderStepResult.read(), and heavydb.thrift.ttypes.TRenderStepResult.write().

heavydb.thrift.ttypes.TRenderStepResult.merge_data

Definition at line 5585 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRenderStepResult.read(), and heavydb.thrift.ttypes.TRenderStepResult.write().

heavydb.thrift.ttypes.TRenderStepResult.raw_pixel_data

Definition at line 5586 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRenderStepResult.read(), and heavydb.thrift.ttypes.TRenderStepResult.write().

heavydb.thrift.ttypes.TRenderStepResult.render_time_ms

Definition at line 5588 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRenderStepResult.read(), and heavydb.thrift.ttypes.TRenderStepResult.write().

heavydb.thrift.ttypes.TRenderStepResult.total_time_ms

Definition at line 5589 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TRenderStepResult.read(), and heavydb.thrift.ttypes.TRenderStepResult.write().


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