OmniSciDB  cde582ebc3
 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 5385 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 5397 of file ttypes.py.

5398  def __init__(self, merge_data=None, raw_pixel_data=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None,):
5399  self.merge_data = merge_data
5400  self.raw_pixel_data = raw_pixel_data
5401  self.execution_time_ms = execution_time_ms
5402  self.render_time_ms = render_time_ms
5403  self.total_time_ms = total_time_ms

Member Function Documentation

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

Definition at line 5529 of file ttypes.py.

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

Definition at line 5532 of file ttypes.py.

5533  def __ne__(self, other):
5534  return not (self == other)
5535 
def heavydb.thrift.ttypes.TRenderStepResult.__repr__ (   self)

Definition at line 5524 of file ttypes.py.

5525  def __repr__(self):
5526  L = ['%s=%r' % (key, value)
5527  for key, value in self.__dict__.items()]
5528  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 5404 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.

5405  def read(self, iprot):
5406  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
5407  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
5408  return
5409  iprot.readStructBegin()
5410  while True:
5411  (fname, ftype, fid) = iprot.readFieldBegin()
5412  if ftype == TType.STOP:
5413  break
5414  if fid == 1:
5415  if ftype == TType.MAP:
5416  self.merge_data = {}
5417  (_ktype220, _vtype221, _size219) = iprot.readMapBegin()
5418  for _i223 in range(_size219):
5419  _key224 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5420  _val225 = {}
5421  (_ktype227, _vtype228, _size226) = iprot.readMapBegin()
5422  for _i230 in range(_size226):
5423  _key231 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5424  _val232 = {}
5425  (_ktype234, _vtype235, _size233) = iprot.readMapBegin()
5426  for _i237 in range(_size233):
5427  _key238 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5428  _val239 = {}
5429  (_ktype241, _vtype242, _size240) = iprot.readMapBegin()
5430  for _i244 in range(_size240):
5431  _key245 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
5432  _val246 = []
5433  (_etype250, _size247) = iprot.readListBegin()
5434  for _i251 in range(_size247):
5435  _elem252 = TRenderDatum()
5436  _elem252.read(iprot)
5437  _val246.append(_elem252)
5438  iprot.readListEnd()
5439  _val239[_key245] = _val246
5440  iprot.readMapEnd()
5441  _val232[_key238] = _val239
5442  iprot.readMapEnd()
5443  _val225[_key231] = _val232
5444  iprot.readMapEnd()
5445  self.merge_data[_key224] = _val225
5446  iprot.readMapEnd()
5447  else:
5448  iprot.skip(ftype)
5449  elif fid == 2:
5450  if ftype == TType.STRUCT:
5451  self.raw_pixel_data = TRawPixelData()
5452  self.raw_pixel_data.read(iprot)
5453  else:
5454  iprot.skip(ftype)
5455  elif fid == 3:
5456  if ftype == TType.I64:
5457  self.execution_time_ms = iprot.readI64()
5458  else:
5459  iprot.skip(ftype)
5460  elif fid == 4:
5461  if ftype == TType.I64:
5462  self.render_time_ms = iprot.readI64()
5463  else:
5464  iprot.skip(ftype)
5465  elif fid == 5:
5466  if ftype == TType.I64:
5467  self.total_time_ms = iprot.readI64()
5468  else:
5469  iprot.skip(ftype)
5470  else:
5471  iprot.skip(ftype)
5472  iprot.readFieldEnd()
5473  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRenderStepResult.validate (   self)

Definition at line 5521 of file ttypes.py.

5522  def validate(self):
5523  return
def heavydb.thrift.ttypes.TRenderStepResult.write (   self,
  oprot 
)

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

5475  def write(self, oprot):
5476  if oprot._fast_encode is not None and self.thrift_spec is not None:
5477  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
5478  return
5479  oprot.writeStructBegin('TRenderStepResult')
5480  if self.merge_data is not None:
5481  oprot.writeFieldBegin('merge_data', TType.MAP, 1)
5482  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merge_data))
5483  for kiter253, viter254 in self.merge_data.items():
5484  oprot.writeString(kiter253.encode('utf-8') if sys.version_info[0] == 2 else kiter253)
5485  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter254))
5486  for kiter255, viter256 in viter254.items():
5487  oprot.writeString(kiter255.encode('utf-8') if sys.version_info[0] == 2 else kiter255)
5488  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter256))
5489  for kiter257, viter258 in viter256.items():
5490  oprot.writeString(kiter257.encode('utf-8') if sys.version_info[0] == 2 else kiter257)
5491  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter258))
5492  for kiter259, viter260 in viter258.items():
5493  oprot.writeString(kiter259.encode('utf-8') if sys.version_info[0] == 2 else kiter259)
5494  oprot.writeListBegin(TType.STRUCT, len(viter260))
5495  for iter261 in viter260:
5496  iter261.write(oprot)
5497  oprot.writeListEnd()
5498  oprot.writeMapEnd()
5499  oprot.writeMapEnd()
5500  oprot.writeMapEnd()
5501  oprot.writeMapEnd()
5502  oprot.writeFieldEnd()
5503  if self.raw_pixel_data is not None:
5504  oprot.writeFieldBegin('raw_pixel_data', TType.STRUCT, 2)
5505  self.raw_pixel_data.write(oprot)
5506  oprot.writeFieldEnd()
5507  if self.execution_time_ms is not None:
5508  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
5509  oprot.writeI64(self.execution_time_ms)
5510  oprot.writeFieldEnd()
5511  if self.render_time_ms is not None:
5512  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
5513  oprot.writeI64(self.render_time_ms)
5514  oprot.writeFieldEnd()
5515  if self.total_time_ms is not None:
5516  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
5517  oprot.writeI64(self.total_time_ms)
5518  oprot.writeFieldEnd()
5519  oprot.writeFieldStop()
5520  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRenderStepResult.__dict__
private

Definition at line 5530 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TRenderStepResult.execution_time_ms

Definition at line 5400 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 5398 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 5399 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 5401 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 5402 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: