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

Public Member Functions

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

Public Attributes

 table_id
 
 table_epoch
 
 leaf_index
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - table_id
 - table_epoch
 - leaf_index

Definition at line 6727 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TTableEpochInfo.__init__ (   self,
  table_id = None,
  table_epoch = None,
  leaf_index = None 
)

Definition at line 6737 of file ttypes.py.

6738  def __init__(self, table_id=None, table_epoch=None, leaf_index=None,):
6739  self.table_id = table_id
6740  self.table_epoch = table_epoch
6741  self.leaf_index = leaf_index

Member Function Documentation

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

Definition at line 6799 of file ttypes.py.

6800  def __eq__(self, other):
6801  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TTableEpochInfo.__ne__ (   self,
  other 
)

Definition at line 6802 of file ttypes.py.

6803  def __ne__(self, other):
6804  return not (self == other)
6805 
def heavydb.thrift.ttypes.TTableEpochInfo.__repr__ (   self)

Definition at line 6794 of file ttypes.py.

6795  def __repr__(self):
6796  L = ['%s=%r' % (key, value)
6797  for key, value in self.__dict__.items()]
6798  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.TTableEpochInfo.read (   self,
  iprot 
)

Definition at line 6742 of file ttypes.py.

References Catalog_Namespace::TableEpochInfo.leaf_index, heavydb.thrift.ttypes.TTableEpochInfo.leaf_index, Catalog_Namespace::TableEpochInfo.table_epoch, heavydb.thrift.ttypes.TTableEpochInfo.table_epoch, 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.ttypes.TTableMeta.table_id, heavydb.thrift.ttypes.TColumnRange.table_id, heavydb.thrift.ttypes.TTableGeneration.table_id, heavydb.thrift.ttypes.TInsertData.table_id, heavydb.thrift.ttypes.TInsertChunks.table_id, heavydb.thrift.ttypes.TTableEpochInfo.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, and heavydb.thrift.Heavy.checkpoint_args.table_id.

6743  def read(self, iprot):
6744  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6745  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6746  return
6747  iprot.readStructBegin()
6748  while True:
6749  (fname, ftype, fid) = iprot.readFieldBegin()
6750  if ftype == TType.STOP:
6751  break
6752  if fid == 1:
6753  if ftype == TType.I32:
6754  self.table_id = iprot.readI32()
6755  else:
6756  iprot.skip(ftype)
6757  elif fid == 2:
6758  if ftype == TType.I32:
6759  self.table_epoch = iprot.readI32()
6760  else:
6761  iprot.skip(ftype)
6762  elif fid == 3:
6763  if ftype == TType.I32:
6764  self.leaf_index = iprot.readI32()
6765  else:
6766  iprot.skip(ftype)
6767  else:
6768  iprot.skip(ftype)
6769  iprot.readFieldEnd()
6770  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableEpochInfo.validate (   self)

Definition at line 6791 of file ttypes.py.

6792  def validate(self):
6793  return
def heavydb.thrift.ttypes.TTableEpochInfo.write (   self,
  oprot 
)

Definition at line 6771 of file ttypes.py.

References Catalog_Namespace::TableEpochInfo.leaf_index, heavydb.thrift.ttypes.TTableEpochInfo.leaf_index, Catalog_Namespace::TableEpochInfo.table_epoch, heavydb.thrift.ttypes.TTableEpochInfo.table_epoch, 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.ttypes.TTableMeta.table_id, heavydb.thrift.ttypes.TColumnRange.table_id, heavydb.thrift.ttypes.TTableGeneration.table_id, heavydb.thrift.ttypes.TInsertData.table_id, heavydb.thrift.ttypes.TInsertChunks.table_id, heavydb.thrift.ttypes.TTableEpochInfo.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, and heavydb.thrift.Heavy.checkpoint_args.table_id.

6772  def write(self, oprot):
6773  if oprot._fast_encode is not None and self.thrift_spec is not None:
6774  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6775  return
6776  oprot.writeStructBegin('TTableEpochInfo')
6777  if self.table_id is not None:
6778  oprot.writeFieldBegin('table_id', TType.I32, 1)
6779  oprot.writeI32(self.table_id)
6780  oprot.writeFieldEnd()
6781  if self.table_epoch is not None:
6782  oprot.writeFieldBegin('table_epoch', TType.I32, 2)
6783  oprot.writeI32(self.table_epoch)
6784  oprot.writeFieldEnd()
6785  if self.leaf_index is not None:
6786  oprot.writeFieldBegin('leaf_index', TType.I32, 3)
6787  oprot.writeI32(self.leaf_index)
6788  oprot.writeFieldEnd()
6789  oprot.writeFieldStop()
6790  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableEpochInfo.__dict__
private

Definition at line 6800 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TTableEpochInfo.leaf_index

Definition at line 6740 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableEpochInfo.table_epoch

Definition at line 6739 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableEpochInfo.table_id

Definition at line 6738 of file ttypes.py.

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


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