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

Constructor & Destructor Documentation

def omnisci.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 4719 of file ttypes.py.

4720  def __init__(self, merge_data=None, raw_pixel_data=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None,):
4721  self.merge_data = merge_data
4722  self.raw_pixel_data = raw_pixel_data
4723  self.execution_time_ms = execution_time_ms
4724  self.render_time_ms = render_time_ms
4725  self.total_time_ms = total_time_ms

Member Function Documentation

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

Definition at line 4851 of file ttypes.py.

4852  def __eq__(self, other):
4853  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TRenderStepResult.__ne__ (   self,
  other 
)

Definition at line 4854 of file ttypes.py.

4855  def __ne__(self, other):
4856  return not (self == other)
4857 
def omnisci.thrift.ttypes.TRenderStepResult.__repr__ (   self)

Definition at line 4846 of file ttypes.py.

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

Definition at line 4726 of file ttypes.py.

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

4727  def read(self, iprot):
4728  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4729  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4730  return
4731  iprot.readStructBegin()
4732  while True:
4733  (fname, ftype, fid) = iprot.readFieldBegin()
4734  if ftype == TType.STOP:
4735  break
4736  if fid == 1:
4737  if ftype == TType.MAP:
4738  self.merge_data = {}
4739  (_ktype199, _vtype200, _size198) = iprot.readMapBegin()
4740  for _i202 in range(_size198):
4741  _key203 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4742  _val204 = {}
4743  (_ktype206, _vtype207, _size205) = iprot.readMapBegin()
4744  for _i209 in range(_size205):
4745  _key210 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4746  _val211 = {}
4747  (_ktype213, _vtype214, _size212) = iprot.readMapBegin()
4748  for _i216 in range(_size212):
4749  _key217 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4750  _val218 = {}
4751  (_ktype220, _vtype221, _size219) = iprot.readMapBegin()
4752  for _i223 in range(_size219):
4753  _key224 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4754  _val225 = []
4755  (_etype229, _size226) = iprot.readListBegin()
4756  for _i230 in range(_size226):
4757  _elem231 = TRenderDatum()
4758  _elem231.read(iprot)
4759  _val225.append(_elem231)
4760  iprot.readListEnd()
4761  _val218[_key224] = _val225
4762  iprot.readMapEnd()
4763  _val211[_key217] = _val218
4764  iprot.readMapEnd()
4765  _val204[_key210] = _val211
4766  iprot.readMapEnd()
4767  self.merge_data[_key203] = _val204
4768  iprot.readMapEnd()
4769  else:
4770  iprot.skip(ftype)
4771  elif fid == 2:
4772  if ftype == TType.STRUCT:
4773  self.raw_pixel_data = TRawPixelData()
4774  self.raw_pixel_data.read(iprot)
4775  else:
4776  iprot.skip(ftype)
4777  elif fid == 3:
4778  if ftype == TType.I64:
4779  self.execution_time_ms = iprot.readI64()
4780  else:
4781  iprot.skip(ftype)
4782  elif fid == 4:
4783  if ftype == TType.I64:
4784  self.render_time_ms = iprot.readI64()
4785  else:
4786  iprot.skip(ftype)
4787  elif fid == 5:
4788  if ftype == TType.I64:
4789  self.total_time_ms = iprot.readI64()
4790  else:
4791  iprot.skip(ftype)
4792  else:
4793  iprot.skip(ftype)
4794  iprot.readFieldEnd()
4795  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRenderStepResult.validate (   self)

Definition at line 4843 of file ttypes.py.

4844  def validate(self):
4845  return
def omnisci.thrift.ttypes.TRenderStepResult.write (   self,
  oprot 
)

Definition at line 4796 of file ttypes.py.

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

4797  def write(self, oprot):
4798  if oprot._fast_encode is not None and self.thrift_spec is not None:
4799  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4800  return
4801  oprot.writeStructBegin('TRenderStepResult')
4802  if self.merge_data is not None:
4803  oprot.writeFieldBegin('merge_data', TType.MAP, 1)
4804  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merge_data))
4805  for kiter232, viter233 in self.merge_data.items():
4806  oprot.writeString(kiter232.encode('utf-8') if sys.version_info[0] == 2 else kiter232)
4807  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter233))
4808  for kiter234, viter235 in viter233.items():
4809  oprot.writeString(kiter234.encode('utf-8') if sys.version_info[0] == 2 else kiter234)
4810  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter235))
4811  for kiter236, viter237 in viter235.items():
4812  oprot.writeString(kiter236.encode('utf-8') if sys.version_info[0] == 2 else kiter236)
4813  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter237))
4814  for kiter238, viter239 in viter237.items():
4815  oprot.writeString(kiter238.encode('utf-8') if sys.version_info[0] == 2 else kiter238)
4816  oprot.writeListBegin(TType.STRUCT, len(viter239))
4817  for iter240 in viter239:
4818  iter240.write(oprot)
4819  oprot.writeListEnd()
4820  oprot.writeMapEnd()
4821  oprot.writeMapEnd()
4822  oprot.writeMapEnd()
4823  oprot.writeMapEnd()
4824  oprot.writeFieldEnd()
4825  if self.raw_pixel_data is not None:
4826  oprot.writeFieldBegin('raw_pixel_data', TType.STRUCT, 2)
4827  self.raw_pixel_data.write(oprot)
4828  oprot.writeFieldEnd()
4829  if self.execution_time_ms is not None:
4830  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
4831  oprot.writeI64(self.execution_time_ms)
4832  oprot.writeFieldEnd()
4833  if self.render_time_ms is not None:
4834  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
4835  oprot.writeI64(self.render_time_ms)
4836  oprot.writeFieldEnd()
4837  if self.total_time_ms is not None:
4838  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
4839  oprot.writeI64(self.total_time_ms)
4840  oprot.writeFieldEnd()
4841  oprot.writeFieldStop()
4842  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRenderStepResult.__dict__
private

Definition at line 4852 of file ttypes.py.

omnisci.thrift.ttypes.TRenderStepResult.execution_time_ms

Definition at line 4722 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderStepResult.merge_data

Definition at line 4720 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderStepResult.raw_pixel_data

Definition at line 4721 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderStepResult.render_time_ms

Definition at line 4723 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderStepResult.total_time_ms

Definition at line 4724 of file ttypes.py.

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


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