OmniSciDB  cde582ebc3
 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 2781 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 2794 of file ttypes.py.

2795  def __init__(self, pixel=None, vega_table_name=None, table_id=None, row_id=None, row_set=None, nonce=None,):
2796  self.pixel = pixel
2797  self.vega_table_name = vega_table_name
2798  self.table_id = table_id
2799  self.row_id = row_id
2800  self.row_set = row_set
2801  self.nonce = nonce

Member Function Documentation

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

Definition at line 2904 of file ttypes.py.

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

Definition at line 2907 of file ttypes.py.

2908  def __ne__(self, other):
2909  return not (self == other)
2910 
def heavydb.thrift.ttypes.TPixelTableRowResult.__repr__ (   self)

Definition at line 2899 of file ttypes.py.

2900  def __repr__(self):
2901  L = ['%s=%r' % (key, value)
2902  for key, value in self.__dict__.items()]
2903  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 2802 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, Analyzer::ColumnVar.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.

2803  def read(self, iprot):
2804  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2805  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2806  return
2807  iprot.readStructBegin()
2808  while True:
2809  (fname, ftype, fid) = iprot.readFieldBegin()
2810  if ftype == TType.STOP:
2811  break
2812  if fid == 1:
2813  if ftype == TType.STRUCT:
2814  self.pixel = TPixel()
2815  self.pixel.read(iprot)
2816  else:
2817  iprot.skip(ftype)
2818  elif fid == 2:
2819  if ftype == TType.STRING:
2820  self.vega_table_name = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2821  else:
2822  iprot.skip(ftype)
2823  elif fid == 3:
2824  if ftype == TType.LIST:
2825  self.table_id = []
2826  (_etype87, _size84) = iprot.readListBegin()
2827  for _i88 in range(_size84):
2828  _elem89 = iprot.readI64()
2829  self.table_id.append(_elem89)
2830  iprot.readListEnd()
2831  else:
2832  iprot.skip(ftype)
2833  elif fid == 4:
2834  if ftype == TType.LIST:
2835  self.row_id = []
2836  (_etype93, _size90) = iprot.readListBegin()
2837  for _i94 in range(_size90):
2838  _elem95 = iprot.readI64()
2839  self.row_id.append(_elem95)
2840  iprot.readListEnd()
2841  else:
2842  iprot.skip(ftype)
2843  elif fid == 5:
2844  if ftype == TType.STRUCT:
2845  self.row_set = TRowSet()
2846  self.row_set.read(iprot)
2847  else:
2848  iprot.skip(ftype)
2849  elif fid == 6:
2850  if ftype == TType.STRING:
2851  self.nonce = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
2852  else:
2853  iprot.skip(ftype)
2854  else:
2855  iprot.skip(ftype)
2856  iprot.readFieldEnd()
2857  iprot.readStructEnd()
def heavydb.thrift.ttypes.TPixelTableRowResult.validate (   self)

Definition at line 2896 of file ttypes.py.

2897  def validate(self):
2898  return
def heavydb.thrift.ttypes.TPixelTableRowResult.write (   self,
  oprot 
)

Definition at line 2858 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, Analyzer::ColumnVar.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.

2859  def write(self, oprot):
2860  if oprot._fast_encode is not None and self.thrift_spec is not None:
2861  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2862  return
2863  oprot.writeStructBegin('TPixelTableRowResult')
2864  if self.pixel is not None:
2865  oprot.writeFieldBegin('pixel', TType.STRUCT, 1)
2866  self.pixel.write(oprot)
2867  oprot.writeFieldEnd()
2868  if self.vega_table_name is not None:
2869  oprot.writeFieldBegin('vega_table_name', TType.STRING, 2)
2870  oprot.writeString(self.vega_table_name.encode('utf-8') if sys.version_info[0] == 2 else self.vega_table_name)
2871  oprot.writeFieldEnd()
2872  if self.table_id is not None:
2873  oprot.writeFieldBegin('table_id', TType.LIST, 3)
2874  oprot.writeListBegin(TType.I64, len(self.table_id))
2875  for iter96 in self.table_id:
2876  oprot.writeI64(iter96)
2877  oprot.writeListEnd()
2878  oprot.writeFieldEnd()
2879  if self.row_id is not None:
2880  oprot.writeFieldBegin('row_id', TType.LIST, 4)
2881  oprot.writeListBegin(TType.I64, len(self.row_id))
2882  for iter97 in self.row_id:
2883  oprot.writeI64(iter97)
2884  oprot.writeListEnd()
2885  oprot.writeFieldEnd()
2886  if self.row_set is not None:
2887  oprot.writeFieldBegin('row_set', TType.STRUCT, 5)
2888  self.row_set.write(oprot)
2889  oprot.writeFieldEnd()
2890  if self.nonce is not None:
2891  oprot.writeFieldBegin('nonce', TType.STRING, 6)
2892  oprot.writeString(self.nonce.encode('utf-8') if sys.version_info[0] == 2 else self.nonce)
2893  oprot.writeFieldEnd()
2894  oprot.writeFieldStop()
2895  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TPixelTableRowResult.__dict__
private

Definition at line 2905 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TPixelTableRowResult.nonce

Definition at line 2800 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 2795 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 2798 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 2799 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 2797 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.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.TInsertData.write(), heavydb.thrift.ttypes.TInsertChunks.write(), and heavydb.thrift.ttypes.TTableEpochInfo.write().

heavydb.thrift.ttypes.TPixelTableRowResult.vega_table_name

Definition at line 2796 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: