OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TRenderResult Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TRenderResult:
+ Collaboration diagram for omnisci.thrift.ttypes.TRenderResult:

Public Member Functions

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

Public Attributes

 image
 
 nonce
 
 execution_time_ms
 
 render_time_ms
 
 total_time_ms
 
 vega_metadata
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - image
 - nonce
 - execution_time_ms
 - render_time_ms
 - total_time_ms
 - vega_metadata

Definition at line 2704 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TRenderResult.__init__ (   self,
  image = None,
  nonce = None,
  execution_time_ms = None,
  render_time_ms = None,
  total_time_ms = None,
  vega_metadata = None 
)

Definition at line 2717 of file ttypes.py.

2718  def __init__(self, image=None, nonce=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None, vega_metadata=None,):
2719  self.image = image
2720  self.nonce = nonce
2721  self.execution_time_ms = execution_time_ms
2722  self.render_time_ms = render_time_ms
2723  self.total_time_ms = total_time_ms
2724  self.vega_metadata = vega_metadata

Member Function Documentation

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

Definition at line 2809 of file ttypes.py.

2810  def __eq__(self, other):
2811  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TRenderResult.__ne__ (   self,
  other 
)

Definition at line 2812 of file ttypes.py.

2813  def __ne__(self, other):
2814  return not (self == other)
2815 
def omnisci.thrift.ttypes.TRenderResult.__repr__ (   self)

Definition at line 2804 of file ttypes.py.

2805  def __repr__(self):
2806  L = ['%s=%r' % (key, value)
2807  for key, value in self.__dict__.items()]
2808  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.TRenderResult.read (   self,
  iprot 
)

Definition at line 2725 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.TRenderResult.image, omnisci.thrift.ttypes.TQueryResult.nonce, omnisci.thrift.ttypes.TPixelTableRowResult.nonce, omnisci.thrift.ttypes.TRenderResult.nonce, omnisci.thrift.OmniSci.sql_execute_args.nonce, omnisci.thrift.OmniSci.render_vega_args.nonce, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.nonce, omnisci.thrift.OmniSci.set_license_key_args.nonce, omnisci.thrift.OmniSci.get_license_claims_args.nonce, omnisci.thrift.ttypes.TRenderResult.render_time_ms, omnisci.thrift.ttypes.TQueryResult.total_time_ms, omnisci.thrift.ttypes.TRenderResult.total_time_ms, and omnisci.thrift.ttypes.TRenderResult.vega_metadata.

2726  def read(self, iprot):
2727  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2728  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2729  return
2730  iprot.readStructBegin()
2731  while True:
2732  (fname, ftype, fid) = iprot.readFieldBegin()
2733  if ftype == TType.STOP:
2734  break
2735  if fid == 1:
2736  if ftype == TType.STRING:
2737  self.image = iprot.readBinary()
2738  else:
2739  iprot.skip(ftype)
2740  elif fid == 2:
2741  if ftype == TType.STRING:
2742  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2743  else:
2744  iprot.skip(ftype)
2745  elif fid == 3:
2746  if ftype == TType.I64:
2747  self.execution_time_ms = iprot.readI64()
2748  else:
2749  iprot.skip(ftype)
2750  elif fid == 4:
2751  if ftype == TType.I64:
2752  self.render_time_ms = iprot.readI64()
2753  else:
2754  iprot.skip(ftype)
2755  elif fid == 5:
2756  if ftype == TType.I64:
2757  self.total_time_ms = iprot.readI64()
2758  else:
2759  iprot.skip(ftype)
2760  elif fid == 6:
2761  if ftype == TType.STRING:
2762  self.vega_metadata = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2763  else:
2764  iprot.skip(ftype)
2765  else:
2766  iprot.skip(ftype)
2767  iprot.readFieldEnd()
2768  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRenderResult.validate (   self)

Definition at line 2801 of file ttypes.py.

2802  def validate(self):
2803  return
def omnisci.thrift.ttypes.TRenderResult.write (   self,
  oprot 
)

Definition at line 2769 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.TRenderResult.image, omnisci.thrift.ttypes.TQueryResult.nonce, omnisci.thrift.ttypes.TPixelTableRowResult.nonce, omnisci.thrift.ttypes.TRenderResult.nonce, omnisci.thrift.OmniSci.sql_execute_args.nonce, omnisci.thrift.OmniSci.render_vega_args.nonce, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.nonce, omnisci.thrift.OmniSci.set_license_key_args.nonce, omnisci.thrift.OmniSci.get_license_claims_args.nonce, omnisci.thrift.ttypes.TRenderResult.render_time_ms, omnisci.thrift.ttypes.TQueryResult.total_time_ms, omnisci.thrift.ttypes.TRenderResult.total_time_ms, and omnisci.thrift.ttypes.TRenderResult.vega_metadata.

2770  def write(self, oprot):
2771  if oprot._fast_encode is not None and self.thrift_spec is not None:
2772  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2773  return
2774  oprot.writeStructBegin('TRenderResult')
2775  if self.image is not None:
2776  oprot.writeFieldBegin('image', TType.STRING, 1)
2777  oprot.writeBinary(self.image)
2778  oprot.writeFieldEnd()
2779  if self.nonce is not None:
2780  oprot.writeFieldBegin('nonce', TType.STRING, 2)
2781  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
2782  oprot.writeFieldEnd()
2783  if self.execution_time_ms is not None:
2784  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
2785  oprot.writeI64(self.execution_time_ms)
2786  oprot.writeFieldEnd()
2787  if self.render_time_ms is not None:
2788  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
2789  oprot.writeI64(self.render_time_ms)
2790  oprot.writeFieldEnd()
2791  if self.total_time_ms is not None:
2792  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
2793  oprot.writeI64(self.total_time_ms)
2794  oprot.writeFieldEnd()
2795  if self.vega_metadata is not None:
2796  oprot.writeFieldBegin('vega_metadata', TType.STRING, 6)
2797  oprot.writeString(self.vega_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.vega_metadata)
2798  oprot.writeFieldEnd()
2799  oprot.writeFieldStop()
2800  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRenderResult.__dict__
private

Definition at line 2810 of file ttypes.py.

omnisci.thrift.ttypes.TRenderResult.execution_time_ms

Definition at line 2720 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderResult.image

Definition at line 2718 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderResult.nonce

Definition at line 2719 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderResult.render_time_ms

Definition at line 2721 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderResult.total_time_ms

Definition at line 2722 of file ttypes.py.

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

omnisci.thrift.ttypes.TRenderResult.vega_metadata

Definition at line 2723 of file ttypes.py.

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


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