OmniSciDB  fe05a0c208
 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 2584 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 2597 of file ttypes.py.

2598  def __init__(self, image=None, nonce=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None, vega_metadata=None,):
2599  self.image = image
2600  self.nonce = nonce
2601  self.execution_time_ms = execution_time_ms
2602  self.render_time_ms = render_time_ms
2603  self.total_time_ms = total_time_ms
2604  self.vega_metadata = vega_metadata

Member Function Documentation

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

Definition at line 2689 of file ttypes.py.

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

Definition at line 2692 of file ttypes.py.

2693  def __ne__(self, other):
2694  return not (self == other)
2695 
def omnisci.thrift.ttypes.TRenderResult.__repr__ (   self)

Definition at line 2684 of file ttypes.py.

2685  def __repr__(self):
2686  L = ['%s=%r' % (key, value)
2687  for key, value in self.__dict__.items()]
2688  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 2605 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.

2606  def read(self, iprot):
2607  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2608  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2609  return
2610  iprot.readStructBegin()
2611  while True:
2612  (fname, ftype, fid) = iprot.readFieldBegin()
2613  if ftype == TType.STOP:
2614  break
2615  if fid == 1:
2616  if ftype == TType.STRING:
2617  self.image = iprot.readBinary()
2618  else:
2619  iprot.skip(ftype)
2620  elif fid == 2:
2621  if ftype == TType.STRING:
2622  self.nonce = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2623  else:
2624  iprot.skip(ftype)
2625  elif fid == 3:
2626  if ftype == TType.I64:
2627  self.execution_time_ms = iprot.readI64()
2628  else:
2629  iprot.skip(ftype)
2630  elif fid == 4:
2631  if ftype == TType.I64:
2632  self.render_time_ms = iprot.readI64()
2633  else:
2634  iprot.skip(ftype)
2635  elif fid == 5:
2636  if ftype == TType.I64:
2637  self.total_time_ms = iprot.readI64()
2638  else:
2639  iprot.skip(ftype)
2640  elif fid == 6:
2641  if ftype == TType.STRING:
2642  self.vega_metadata = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
2643  else:
2644  iprot.skip(ftype)
2645  else:
2646  iprot.skip(ftype)
2647  iprot.readFieldEnd()
2648  iprot.readStructEnd()
def omnisci.thrift.ttypes.TRenderResult.validate (   self)

Definition at line 2681 of file ttypes.py.

2682  def validate(self):
2683  return
def omnisci.thrift.ttypes.TRenderResult.write (   self,
  oprot 
)

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

2650  def write(self, oprot):
2651  if oprot._fast_encode is not None and self.thrift_spec is not None:
2652  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2653  return
2654  oprot.writeStructBegin('TRenderResult')
2655  if self.image is not None:
2656  oprot.writeFieldBegin('image', TType.STRING, 1)
2657  oprot.writeBinary(self.image)
2658  oprot.writeFieldEnd()
2659  if self.nonce is not None:
2660  oprot.writeFieldBegin('nonce', TType.STRING, 2)
2661  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
2662  oprot.writeFieldEnd()
2663  if self.execution_time_ms is not None:
2664  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
2665  oprot.writeI64(self.execution_time_ms)
2666  oprot.writeFieldEnd()
2667  if self.render_time_ms is not None:
2668  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
2669  oprot.writeI64(self.render_time_ms)
2670  oprot.writeFieldEnd()
2671  if self.total_time_ms is not None:
2672  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
2673  oprot.writeI64(self.total_time_ms)
2674  oprot.writeFieldEnd()
2675  if self.vega_metadata is not None:
2676  oprot.writeFieldBegin('vega_metadata', TType.STRING, 6)
2677  oprot.writeString(self.vega_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.vega_metadata)
2678  oprot.writeFieldEnd()
2679  oprot.writeFieldStop()
2680  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TRenderResult.__dict__
private

Definition at line 2690 of file ttypes.py.

omnisci.thrift.ttypes.TRenderResult.execution_time_ms

Definition at line 2600 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 2598 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 2599 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 2601 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 2602 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 2603 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: