OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TPixelTableRowResult Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TPixelTableRowResult:
+ Collaboration diagram for heavydb.thrift.ttypes.TPixelTableRowResult:

Public Member Functions

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

Public Attributes

 pixel
 
 vega_table_name
 
 table_id
 
 row_id
 
 row_set
 
 nonce
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - pixel
 - vega_table_name
 - table_id
 - row_id
 - row_set
 - nonce

Definition at line 2825 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TPixelTableRowResult.__init__ (   self,
  pixel = None,
  vega_table_name = None,
  table_id = None,
  row_id = None,
  row_set = None,
  nonce = None 
)

Definition at line 2838 of file ttypes.py.

2839  def __init__(self, pixel=None, vega_table_name=None, table_id=None, row_id=None, row_set=None, nonce=None,):
2840  self.pixel = pixel
2841  self.vega_table_name = vega_table_name
2842  self.table_id = table_id
2843  self.row_id = row_id
2844  self.row_set = row_set
2845  self.nonce = nonce

Member Function Documentation

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

Definition at line 2948 of file ttypes.py.

2949  def __eq__(self, other):
2950  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TPixelTableRowResult.__ne__ (   self,
  other 
)

Definition at line 2951 of file ttypes.py.

2952  def __ne__(self, other):
2953  return not (self == other)
2954 
def heavydb.thrift.ttypes.TPixelTableRowResult.__repr__ (   self)

Definition at line 2943 of file ttypes.py.

2944  def __repr__(self):
2945  L = ['%s=%r' % (key, value)
2946  for key, value in self.__dict__.items()]
2947  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.TPixelTableRowResult.read (   self,
  iprot 
)

Definition at line 2846 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryResult.nonce, heavydb.thrift.ttypes.TPixelTableRowResult.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.TPixelTableRowResult.pixel, heavydb.thrift.Heavy.get_result_row_for_pixel_args.pixel, heavydb.thrift.ttypes.TPixelTableRowResult.row_id, heavydb.thrift.ttypes.TQueryResult.row_set, heavydb.thrift.ttypes.TDetectResult.row_set, heavydb.thrift.ttypes.TPixelTableRowResult.row_set, TableMetadata.table_id, foreign_storage::StorageDetails.table_id, Fragmenter_Namespace::InsertChunks.table_id, Catalog_Namespace::TableEpochInfo.table_id, heavydb.thrift.ttypes.TPixelTableRowResult.table_id, heavydb.thrift.Heavy.set_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epochs_args.table_id, heavydb.thrift.Heavy.check_table_consistency_args.table_id, heavydb.thrift.Heavy.checkpoint_args.table_id, and heavydb.thrift.ttypes.TPixelTableRowResult.vega_table_name.

2847  def read(self, iprot):
2848  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2849  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2850  return
2851  iprot.readStructBegin()
2852  while True:
2853  (fname, ftype, fid) = iprot.readFieldBegin()
2854  if ftype == TType.STOP:
2855  break
2856  if fid == 1:
2857  if ftype == TType.STRUCT:
2858  self.pixel = TPixel()
2859  self.pixel.read(iprot)
2860  else:
2861  iprot.skip(ftype)
2862  elif fid == 2:
2863  if ftype == TType.STRING:
2864  self.vega_table_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2865  else:
2866  iprot.skip(ftype)
2867  elif fid == 3:
2868  if ftype == TType.LIST:
2869  self.table_id = []
2870  (_etype87, _size84) = iprot.readListBegin()
2871  for _i88 in range(_size84):
2872  _elem89 = iprot.readI64()
2873  self.table_id.append(_elem89)
2874  iprot.readListEnd()
2875  else:
2876  iprot.skip(ftype)
2877  elif fid == 4:
2878  if ftype == TType.LIST:
2879  self.row_id = []
2880  (_etype93, _size90) = iprot.readListBegin()
2881  for _i94 in range(_size90):
2882  _elem95 = iprot.readI64()
2883  self.row_id.append(_elem95)
2884  iprot.readListEnd()
2885  else:
2886  iprot.skip(ftype)
2887  elif fid == 5:
2888  if ftype == TType.STRUCT:
2889  self.row_set = TRowSet()
2890  self.row_set.read(iprot)
2891  else:
2892  iprot.skip(ftype)
2893  elif fid == 6:
2894  if ftype == TType.STRING:
2895  self.nonce = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2896  else:
2897  iprot.skip(ftype)
2898  else:
2899  iprot.skip(ftype)
2900  iprot.readFieldEnd()
2901  iprot.readStructEnd()
def heavydb.thrift.ttypes.TPixelTableRowResult.validate (   self)

Definition at line 2940 of file ttypes.py.

2941  def validate(self):
2942  return
def heavydb.thrift.ttypes.TPixelTableRowResult.write (   self,
  oprot 
)

Definition at line 2902 of file ttypes.py.

References heavydb.thrift.ttypes.TQueryResult.nonce, heavydb.thrift.ttypes.TPixelTableRowResult.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.TPixelTableRowResult.pixel, heavydb.thrift.Heavy.get_result_row_for_pixel_args.pixel, heavydb.thrift.ttypes.TPixelTableRowResult.row_id, heavydb.thrift.ttypes.TQueryResult.row_set, heavydb.thrift.ttypes.TDetectResult.row_set, heavydb.thrift.ttypes.TPixelTableRowResult.row_set, TableMetadata.table_id, foreign_storage::StorageDetails.table_id, Fragmenter_Namespace::InsertChunks.table_id, Catalog_Namespace::TableEpochInfo.table_id, heavydb.thrift.ttypes.TPixelTableRowResult.table_id, heavydb.thrift.Heavy.set_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epoch_args.table_id, heavydb.thrift.Heavy.get_table_epochs_args.table_id, heavydb.thrift.Heavy.check_table_consistency_args.table_id, heavydb.thrift.Heavy.checkpoint_args.table_id, and heavydb.thrift.ttypes.TPixelTableRowResult.vega_table_name.

2903  def write(self, oprot):
2904  if oprot._fast_encode is not None and self.thrift_spec is not None:
2905  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2906  return
2907  oprot.writeStructBegin('TPixelTableRowResult')
2908  if self.pixel is not None:
2909  oprot.writeFieldBegin('pixel', TType.STRUCT, 1)
2910  self.pixel.write(oprot)
2911  oprot.writeFieldEnd()
2912  if self.vega_table_name is not None:
2913  oprot.writeFieldBegin('vega_table_name', TType.STRING, 2)
2914  oprot.writeString(self.vega_table_name.encode('utf-8') if sys.version_info[0] == 2 else self.vega_table_name)
2915  oprot.writeFieldEnd()
2916  if self.table_id is not None:
2917  oprot.writeFieldBegin('table_id', TType.LIST, 3)
2918  oprot.writeListBegin(TType.I64, len(self.table_id))
2919  for iter96 in self.table_id:
2920  oprot.writeI64(iter96)
2921  oprot.writeListEnd()
2922  oprot.writeFieldEnd()
2923  if self.row_id is not None:
2924  oprot.writeFieldBegin('row_id', TType.LIST, 4)
2925  oprot.writeListBegin(TType.I64, len(self.row_id))
2926  for iter97 in self.row_id:
2927  oprot.writeI64(iter97)
2928  oprot.writeListEnd()
2929  oprot.writeFieldEnd()
2930  if self.row_set is not None:
2931  oprot.writeFieldBegin('row_set', TType.STRUCT, 5)
2932  self.row_set.write(oprot)
2933  oprot.writeFieldEnd()
2934  if self.nonce is not None:
2935  oprot.writeFieldBegin('nonce', TType.STRING, 6)
2936  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
2937  oprot.writeFieldEnd()
2938  oprot.writeFieldStop()
2939  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TPixelTableRowResult.__dict__
private

Definition at line 2949 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TPixelTableRowResult.nonce

Definition at line 2844 of file ttypes.py.

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

heavydb.thrift.ttypes.TPixelTableRowResult.pixel

Definition at line 2839 of file ttypes.py.

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

heavydb.thrift.ttypes.TPixelTableRowResult.row_id

Definition at line 2842 of file ttypes.py.

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

heavydb.thrift.ttypes.TPixelTableRowResult.row_set

Definition at line 2843 of file ttypes.py.

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

heavydb.thrift.ttypes.TPixelTableRowResult.table_id

Definition at line 2841 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TPixelTableRowResult.read(), heavydb.thrift.ttypes.TTableMeta.read(), heavydb.thrift.ttypes.TColumnRange.read(), heavydb.thrift.ttypes.TTableGeneration.read(), heavydb.thrift.ttypes.TTableCacheStatus.read(), heavydb.thrift.ttypes.TInsertData.read(), heavydb.thrift.ttypes.TInsertChunks.read(), heavydb.thrift.ttypes.TTableEpochInfo.read(), heavydb.thrift.ttypes.TPixelTableRowResult.write(), heavydb.thrift.ttypes.TTableMeta.write(), heavydb.thrift.ttypes.TColumnRange.write(), heavydb.thrift.ttypes.TTableGeneration.write(), heavydb.thrift.ttypes.TTableCacheStatus.write(), heavydb.thrift.ttypes.TInsertData.write(), heavydb.thrift.ttypes.TInsertChunks.write(), and heavydb.thrift.ttypes.TTableEpochInfo.write().

heavydb.thrift.ttypes.TPixelTableRowResult.vega_table_name

Definition at line 2840 of file ttypes.py.

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


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