OmniSciDB  cde582ebc3
 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 2911 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 2924 of file ttypes.py.

2925  def __init__(self, image=None, nonce=None, execution_time_ms=None, render_time_ms=None, total_time_ms=None, vega_metadata=None,):
2926  self.image = image
2927  self.nonce = nonce
2928  self.execution_time_ms = execution_time_ms
2929  self.render_time_ms = render_time_ms
2930  self.total_time_ms = total_time_ms
2931  self.vega_metadata = vega_metadata

Member Function Documentation

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

Definition at line 3016 of file ttypes.py.

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

Definition at line 3019 of file ttypes.py.

3020  def __ne__(self, other):
3021  return not (self == other)
3022 
def heavydb.thrift.ttypes.TRenderResult.__repr__ (   self)

Definition at line 3011 of file ttypes.py.

3012  def __repr__(self):
3013  L = ['%s=%r' % (key, value)
3014  for key, value in self.__dict__.items()]
3015  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 2932 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.

2933  def read(self, iprot):
2934  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2935  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2936  return
2937  iprot.readStructBegin()
2938  while True:
2939  (fname, ftype, fid) = iprot.readFieldBegin()
2940  if ftype == TType.STOP:
2941  break
2942  if fid == 1:
2943  if ftype == TType.STRING:
2944  self.image = iprot.readBinary()
2945  else:
2946  iprot.skip(ftype)
2947  elif fid == 2:
2948  if ftype == TType.STRING:
2949  self.nonce = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2950  else:
2951  iprot.skip(ftype)
2952  elif fid == 3:
2953  if ftype == TType.I64:
2954  self.execution_time_ms = iprot.readI64()
2955  else:
2956  iprot.skip(ftype)
2957  elif fid == 4:
2958  if ftype == TType.I64:
2959  self.render_time_ms = iprot.readI64()
2960  else:
2961  iprot.skip(ftype)
2962  elif fid == 5:
2963  if ftype == TType.I64:
2964  self.total_time_ms = iprot.readI64()
2965  else:
2966  iprot.skip(ftype)
2967  elif fid == 6:
2968  if ftype == TType.STRING:
2969  self.vega_metadata = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2970  else:
2971  iprot.skip(ftype)
2972  else:
2973  iprot.skip(ftype)
2974  iprot.readFieldEnd()
2975  iprot.readStructEnd()
def heavydb.thrift.ttypes.TRenderResult.validate (   self)

Definition at line 3008 of file ttypes.py.

3009  def validate(self):
3010  return
def heavydb.thrift.ttypes.TRenderResult.write (   self,
  oprot 
)

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 write(self, oprot):
2978  if oprot._fast_encode is not None and self.thrift_spec is not None:
2979  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2980  return
2981  oprot.writeStructBegin('TRenderResult')
2982  if self.image is not None:
2983  oprot.writeFieldBegin('image', TType.STRING, 1)
2984  oprot.writeBinary(self.image)
2985  oprot.writeFieldEnd()
2986  if self.nonce is not None:
2987  oprot.writeFieldBegin('nonce', TType.STRING, 2)
2988  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
2989  oprot.writeFieldEnd()
2990  if self.execution_time_ms is not None:
2991  oprot.writeFieldBegin('execution_time_ms', TType.I64, 3)
2992  oprot.writeI64(self.execution_time_ms)
2993  oprot.writeFieldEnd()
2994  if self.render_time_ms is not None:
2995  oprot.writeFieldBegin('render_time_ms', TType.I64, 4)
2996  oprot.writeI64(self.render_time_ms)
2997  oprot.writeFieldEnd()
2998  if self.total_time_ms is not None:
2999  oprot.writeFieldBegin('total_time_ms', TType.I64, 5)
3000  oprot.writeI64(self.total_time_ms)
3001  oprot.writeFieldEnd()
3002  if self.vega_metadata is not None:
3003  oprot.writeFieldBegin('vega_metadata', TType.STRING, 6)
3004  oprot.writeString(self.vega_metadata.encode('utf-8') if sys.version_info[0] == 2 else self.vega_metadata)
3005  oprot.writeFieldEnd()
3006  oprot.writeFieldStop()
3007  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TRenderResult.__dict__
private

Definition at line 3017 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TRenderResult.execution_time_ms

Definition at line 2927 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 2925 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 2926 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 2928 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 2929 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 2930 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: