OmniSciDB  72c90bc290
 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 6914 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 6924 of file ttypes.py.

6925  def __init__(self, table_id=None, table_epoch=None, leaf_index=None,):
6926  self.table_id = table_id
6927  self.table_epoch = table_epoch
6928  self.leaf_index = leaf_index

Member Function Documentation

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

Definition at line 6986 of file ttypes.py.

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

Definition at line 6989 of file ttypes.py.

6990  def __ne__(self, other):
6991  return not (self == other)
6992 
def heavydb.thrift.ttypes.TTableEpochInfo.__repr__ (   self)

Definition at line 6981 of file ttypes.py.

6982  def __repr__(self):
6983  L = ['%s=%r' % (key, value)
6984  for key, value in self.__dict__.items()]
6985  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 6929 of file ttypes.py.

References Catalog_Namespace::TableEpochInfo.leaf_index, heavydb.thrift.ttypes.TTableEpochInfo.leaf_index, AlterTableAlterColumnCommandRecoveryMgr::RecoveryInfo.table_epoch, 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, 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.TTableCacheStatus.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.

6930  def read(self, iprot):
6931  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6932  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6933  return
6934  iprot.readStructBegin()
6935  while True:
6936  (fname, ftype, fid) = iprot.readFieldBegin()
6937  if ftype == TType.STOP:
6938  break
6939  if fid == 1:
6940  if ftype == TType.I32:
6941  self.table_id = iprot.readI32()
6942  else:
6943  iprot.skip(ftype)
6944  elif fid == 2:
6945  if ftype == TType.I32:
6946  self.table_epoch = iprot.readI32()
6947  else:
6948  iprot.skip(ftype)
6949  elif fid == 3:
6950  if ftype == TType.I32:
6951  self.leaf_index = iprot.readI32()
6952  else:
6953  iprot.skip(ftype)
6954  else:
6955  iprot.skip(ftype)
6956  iprot.readFieldEnd()
6957  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableEpochInfo.validate (   self)

Definition at line 6978 of file ttypes.py.

6979  def validate(self):
6980  return
def heavydb.thrift.ttypes.TTableEpochInfo.write (   self,
  oprot 
)

Definition at line 6958 of file ttypes.py.

References Catalog_Namespace::TableEpochInfo.leaf_index, heavydb.thrift.ttypes.TTableEpochInfo.leaf_index, AlterTableAlterColumnCommandRecoveryMgr::RecoveryInfo.table_epoch, 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, 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.TTableCacheStatus.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.

6959  def write(self, oprot):
6960  if oprot._fast_encode is not None and self.thrift_spec is not None:
6961  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6962  return
6963  oprot.writeStructBegin('TTableEpochInfo')
6964  if self.table_id is not None:
6965  oprot.writeFieldBegin('table_id', TType.I32, 1)
6966  oprot.writeI32(self.table_id)
6967  oprot.writeFieldEnd()
6968  if self.table_epoch is not None:
6969  oprot.writeFieldBegin('table_epoch', TType.I32, 2)
6970  oprot.writeI32(self.table_epoch)
6971  oprot.writeFieldEnd()
6972  if self.leaf_index is not None:
6973  oprot.writeFieldBegin('leaf_index', TType.I32, 3)
6974  oprot.writeI32(self.leaf_index)
6975  oprot.writeFieldEnd()
6976  oprot.writeFieldStop()
6977  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableEpochInfo.__dict__
private

Definition at line 6987 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TTableEpochInfo.leaf_index

Definition at line 6927 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 6926 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 6925 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: