OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TRenderResult Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TRenderResult:
+ Collaboration diagram for heavydb.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 2955 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.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 2968 of file ttypes.py.

2969  def __init__(self, image=None, nonce=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None, vega_metadata=None,):
2970  self.image = image
2971  self.nonce = nonce
2972  self.execution_time_ms = execution_time_ms
2973  self.render_time_ms = render_time_ms
2974  self.total_time_ms = total_time_ms
2975  self.vega_metadata = vega_metadata

Member Function Documentation

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

Definition at line 3060 of file ttypes.py.

3061  def __eq__(self, other):
3062  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TRenderResult.__ne__ (   self,
  other 
)

Definition at line 3063 of file ttypes.py.

3064  def __ne__(self, other):
3065  return not (self == other)
3066 
def heavydb.thrift.ttypes.TRenderResult.__repr__ (   self)

Definition at line 3055 of file ttypes.py.

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

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

2977  def read(self, iprot):
2978  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2979  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2980  return
2981  iprot.readStructBegin()
2982  while True:
2983  (fname, ftype, fid) = iprot.readFieldBegin()
2984  if ftype == TType.STOP:
2985  break
2986  if fid == 1:
2987  if ftype == TType.STRING:
2988  self.image = iprot.readBinary()
2989  else:
2990  iprot.skip(ftype)
2991  elif fid == 2:
2992  if ftype == TType.STRING:
2993  self.nonce = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2994  else:
2995  iprot.skip(ftype)
2996  elif fid == 3:
2997  if ftype == TType.I64:
2998  self.execution_time_ms = iprot.readI64()
2999  else:
3000  iprot.skip(ftype)
3001  elif fid == 4:
3002  if ftype == TType.I64:
3003  self.render_time_ms = iprot.readI64()
3004  else:
3005  iprot.skip(ftype)
3006  elif fid == 5:
3007  if ftype == TType.I64:
3008  self.total_time_ms = iprot.readI64()
3009  else:
3010  iprot.skip(ftype)
3011  elif fid == 6:
3012  if ftype == TType.STRING:
3013  self.vega_metadata = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
3014  else:
3015  iprot.skip(ftype)
3016  else:
3017  iprot.skip(ftype)
3018  iprot.readFieldEnd()
3019  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRenderResult.validate (   self)

Definition at line 3052 of file ttypes.py.

3053  def validate(self):
3054  return
def heavydb.thrift.ttypes.TRenderResult.write (   self,
  oprot 
)

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

3021  def write(self, oprot):
3022  if oprot._fast_encode is not None and self.thrift_spec is not None:
3023  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3024  return
3025  oprot.writeStructBegin('TRenderResult')
3026  if self.image is not None:
3027  oprot.writeFieldBegin('image', TType.STRING, 1)
3028  oprot.writeBinary(self.image)
3029  oprot.writeFieldEnd()
3030  if self.nonce is not None:
3031  oprot.writeFieldBegin('nonce', TType.STRING, 2)
3032  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
3033  oprot.writeFieldEnd()
3034  if self.execution_time_ms is not None:
3035  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
3036  oprot.writeI64(self.execution_time_ms)
3037  oprot.writeFieldEnd()
3038  if self.render_time_ms is not None:
3039  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
3040  oprot.writeI64(self.render_time_ms)
3041  oprot.writeFieldEnd()
3042  if self.total_time_ms is not None:
3043  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
3044  oprot.writeI64(self.total_time_ms)
3045  oprot.writeFieldEnd()
3046  if self.vega_metadata is not None:
3047  oprot.writeFieldBegin('vega_metadata', TType.STRING, 6)
3048  oprot.writeString(self.vega_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.vega_metadata)
3049  oprot.writeFieldEnd()
3050  oprot.writeFieldStop()
3051  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRenderResult.__dict__
private

Definition at line 3061 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TRenderResult.execution_time_ms

Definition at line 2971 of file ttypes.py.

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

heavydb.thrift.ttypes.TRenderResult.image

Definition at line 2969 of file ttypes.py.

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

heavydb.thrift.ttypes.TRenderResult.nonce

Definition at line 2970 of file ttypes.py.

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

heavydb.thrift.ttypes.TRenderResult.render_time_ms

Definition at line 2972 of file ttypes.py.

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

heavydb.thrift.ttypes.TRenderResult.total_time_ms

Definition at line 2973 of file ttypes.py.

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

heavydb.thrift.ttypes.TRenderResult.vega_metadata

Definition at line 2974 of file ttypes.py.

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


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