OmniSciDB  a7179b2938
 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 4827 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 4839 of file ttypes.py.

4840  def __init__(self, merge_data=None, raw_pixel_data=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None,):
4841  self.merge_data = merge_data
4842  self.raw_pixel_data = raw_pixel_data
4843  self.execution_time_ms = execution_time_ms
4844  self.render_time_ms = render_time_ms
4845  self.total_time_ms = total_time_ms

Member Function Documentation

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

Definition at line 4971 of file ttypes.py.

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

Definition at line 4974 of file ttypes.py.

4975  def __ne__(self, other):
4976  return not (self == other)
4977 
def omnisci.thrift.ttypes.TRenderStepResult.__repr__ (   self)

Definition at line 4966 of file ttypes.py.

4967  def __repr__(self):
4968  L = ['%s=%r' % (key, value)
4969  for key, value in self.__dict__.items()]
4970  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 4846 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.

4847  def read(self, iprot):
4848  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4849  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4850  return
4851  iprot.readStructBegin()
4852  while True:
4853  (fname, ftype, fid) = iprot.readFieldBegin()
4854  if ftype == TType.STOP:
4855  break
4856  if fid == 1:
4857  if ftype == TType.MAP:
4858  self.merge_data = {}
4859  (_ktype199, _vtype200, _size198) = iprot.readMapBegin()
4860  for _i202 in range(_size198):
4861  _key203 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4862  _val204 = {}
4863  (_ktype206, _vtype207, _size205) = iprot.readMapBegin()
4864  for _i209 in range(_size205):
4865  _key210 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4866  _val211 = {}
4867  (_ktype213, _vtype214, _size212) = iprot.readMapBegin()
4868  for _i216 in range(_size212):
4869  _key217 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4870  _val218 = {}
4871  (_ktype220, _vtype221, _size219) = iprot.readMapBegin()
4872  for _i223 in range(_size219):
4873  _key224 = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
4874  _val225 = []
4875  (_etype229, _size226) = iprot.readListBegin()
4876  for _i230 in range(_size226):
4877  _elem231 = TRenderDatum()
4878  _elem231.read(iprot)
4879  _val225.append(_elem231)
4880  iprot.readListEnd()
4881  _val218[_key224] = _val225
4882  iprot.readMapEnd()
4883  _val211[_key217] = _val218
4884  iprot.readMapEnd()
4885  _val204[_key210] = _val211
4886  iprot.readMapEnd()
4887  self.merge_data[_key203] = _val204
4888  iprot.readMapEnd()
4889  else:
4890  iprot.skip(ftype)
4891  elif fid == 2:
4892  if ftype == TType.STRUCT:
4893  self.raw_pixel_data = TRawPixelData()
4894  self.raw_pixel_data.read(iprot)
4895  else:
4896  iprot.skip(ftype)
4897  elif fid == 3:
4898  if ftype == TType.I64:
4899  self.execution_time_ms = iprot.readI64()
4900  else:
4901  iprot.skip(ftype)
4902  elif fid == 4:
4903  if ftype == TType.I64:
4904  self.render_time_ms = iprot.readI64()
4905  else:
4906  iprot.skip(ftype)
4907  elif fid == 5:
4908  if ftype == TType.I64:
4909  self.total_time_ms = iprot.readI64()
4910  else:
4911  iprot.skip(ftype)
4912  else:
4913  iprot.skip(ftype)
4914  iprot.readFieldEnd()
4915  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRenderStepResult.validate (   self)

Definition at line 4963 of file ttypes.py.

4964  def validate(self):
4965  return
def omnisci.thrift.ttypes.TRenderStepResult.write (   self,
  oprot 
)

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

4917  def write(self, oprot):
4918  if oprot._fast_encode is not None and self.thrift_spec is not None:
4919  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4920  return
4921  oprot.writeStructBegin('TRenderStepResult')
4922  if self.merge_data is not None:
4923  oprot.writeFieldBegin('merge_data', TType.MAP, 1)
4924  oprot.writeMapBegin(TType.STRING, TType.MAP, len(self.merge_data))
4925  for kiter232, viter233 in self.merge_data.items():
4926  oprot.writeString(kiter232.encode('utf-8') if sys.version_info[0] == 2 else kiter232)
4927  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter233))
4928  for kiter234, viter235 in viter233.items():
4929  oprot.writeString(kiter234.encode('utf-8') if sys.version_info[0] == 2 else kiter234)
4930  oprot.writeMapBegin(TType.STRING, TType.MAP, len(viter235))
4931  for kiter236, viter237 in viter235.items():
4932  oprot.writeString(kiter236.encode('utf-8') if sys.version_info[0] == 2 else kiter236)
4933  oprot.writeMapBegin(TType.STRING, TType.LIST, len(viter237))
4934  for kiter238, viter239 in viter237.items():
4935  oprot.writeString(kiter238.encode('utf-8') if sys.version_info[0] == 2 else kiter238)
4936  oprot.writeListBegin(TType.STRUCT, len(viter239))
4937  for iter240 in viter239:
4938  iter240.write(oprot)
4939  oprot.writeListEnd()
4940  oprot.writeMapEnd()
4941  oprot.writeMapEnd()
4942  oprot.writeMapEnd()
4943  oprot.writeMapEnd()
4944  oprot.writeFieldEnd()
4945  if self.raw_pixel_data is not None:
4946  oprot.writeFieldBegin('raw_pixel_data', TType.STRUCT, 2)
4947  self.raw_pixel_data.write(oprot)
4948  oprot.writeFieldEnd()
4949  if self.execution_time_ms is not None:
4950  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
4951  oprot.writeI64(self.execution_time_ms)
4952  oprot.writeFieldEnd()
4953  if self.render_time_ms is not None:
4954  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
4955  oprot.writeI64(self.render_time_ms)
4956  oprot.writeFieldEnd()
4957  if self.total_time_ms is not None:
4958  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
4959  oprot.writeI64(self.total_time_ms)
4960  oprot.writeFieldEnd()
4961  oprot.writeFieldStop()
4962  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRenderStepResult.__dict__
private

Definition at line 4972 of file ttypes.py.

omnisci.thrift.ttypes.TRenderStepResult.execution_time_ms

Definition at line 4842 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 4840 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 4841 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 4843 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 4844 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: