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

Public Member Functions

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

Public Attributes

 table_id
 
 tuple_count
 
 start_rowid
 
 db_id
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - table_id
 - tuple_count
 - start_rowid
 - db_id

Definition at line 4326 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TTableGeneration.__init__ (   self,
  table_id = None,
  tuple_count = None,
  start_rowid = None,
  db_id = None 
)

Definition at line 4337 of file ttypes.py.

4338  def __init__(self, table_id=None, tuple_count=None, start_rowid=None, db_id=None,):
4339  self.table_id = table_id
4340  self.tuple_count = tuple_count
4341  self.start_rowid = start_rowid
4342  self.db_id = db_id

Member Function Documentation

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

Definition at line 4409 of file ttypes.py.

4410  def __eq__(self, other):
4411  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TTableGeneration.__ne__ (   self,
  other 
)

Definition at line 4412 of file ttypes.py.

4413  def __ne__(self, other):
4414  return not (self == other)
4415 
def heavydb.thrift.ttypes.TTableGeneration.__repr__ (   self)

Definition at line 4404 of file ttypes.py.

4405  def __repr__(self):
4406  L = ['%s=%r' % (key, value)
4407  for key, value in self.__dict__.items()]
4408  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.TTableGeneration.read (   self,
  iprot 
)

Definition at line 4343 of file ttypes.py.

References data_conversion::ConversionFactoryParam.db_id, ColumnDescriptor.db_id, Fragmenter_Namespace::InsertChunks.db_id, foreign_storage::ParseBufferRequest.db_id, heavydb.common.ttypes.TStringDictKey.db_id, heavydb.thrift.ttypes.TColumnRange.db_id, heavydb.thrift.ttypes.TDictionaryGeneration.db_id, heavydb.thrift.ttypes.TTableGeneration.db_id, heavydb.thrift.Heavy.set_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epochs_args.db_id, heavydb.thrift.Heavy.set_table_epochs_args.db_id, heavydb.thrift.ttypes.TTableGeneration.start_rowid, 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.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.TTableGeneration.tuple_count.

4344  def read(self, iprot):
4345  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4346  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4347  return
4348  iprot.readStructBegin()
4349  while True:
4350  (fname, ftype, fid) = iprot.readFieldBegin()
4351  if ftype == TType.STOP:
4352  break
4353  if fid == 1:
4354  if ftype == TType.I32:
4355  self.table_id = iprot.readI32()
4356  else:
4357  iprot.skip(ftype)
4358  elif fid == 2:
4359  if ftype == TType.I64:
4360  self.tuple_count = iprot.readI64()
4361  else:
4362  iprot.skip(ftype)
4363  elif fid == 3:
4364  if ftype == TType.I64:
4365  self.start_rowid = iprot.readI64()
4366  else:
4367  iprot.skip(ftype)
4368  elif fid == 4:
4369  if ftype == TType.I32:
4370  self.db_id = iprot.readI32()
4371  else:
4372  iprot.skip(ftype)
4373  else:
4374  iprot.skip(ftype)
4375  iprot.readFieldEnd()
4376  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableGeneration.validate (   self)

Definition at line 4401 of file ttypes.py.

4402  def validate(self):
4403  return
def heavydb.thrift.ttypes.TTableGeneration.write (   self,
  oprot 
)

Definition at line 4377 of file ttypes.py.

References data_conversion::ConversionFactoryParam.db_id, ColumnDescriptor.db_id, Fragmenter_Namespace::InsertChunks.db_id, foreign_storage::ParseBufferRequest.db_id, heavydb.common.ttypes.TStringDictKey.db_id, heavydb.thrift.ttypes.TColumnRange.db_id, heavydb.thrift.ttypes.TDictionaryGeneration.db_id, heavydb.thrift.ttypes.TTableGeneration.db_id, heavydb.thrift.Heavy.set_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epoch_args.db_id, heavydb.thrift.Heavy.get_table_epochs_args.db_id, heavydb.thrift.Heavy.set_table_epochs_args.db_id, heavydb.thrift.ttypes.TTableGeneration.start_rowid, 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.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.TTableGeneration.tuple_count.

4378  def write(self, oprot):
4379  if oprot._fast_encode is not None and self.thrift_spec is not None:
4380  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4381  return
4382  oprot.writeStructBegin('TTableGeneration')
4383  if self.table_id is not None:
4384  oprot.writeFieldBegin('table_id', TType.I32, 1)
4385  oprot.writeI32(self.table_id)
4386  oprot.writeFieldEnd()
4387  if self.tuple_count is not None:
4388  oprot.writeFieldBegin('tuple_count', TType.I64, 2)
4389  oprot.writeI64(self.tuple_count)
4390  oprot.writeFieldEnd()
4391  if self.start_rowid is not None:
4392  oprot.writeFieldBegin('start_rowid', TType.I64, 3)
4393  oprot.writeI64(self.start_rowid)
4394  oprot.writeFieldEnd()
4395  if self.db_id is not None:
4396  oprot.writeFieldBegin('db_id', TType.I32, 4)
4397  oprot.writeI32(self.db_id)
4398  oprot.writeFieldEnd()
4399  oprot.writeFieldStop()
4400  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableGeneration.__dict__
private

Definition at line 4410 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TTableGeneration.db_id

Definition at line 4341 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableGeneration.start_rowid

Definition at line 4340 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableGeneration.table_id

Definition at line 4338 of file ttypes.py.

Referenced by 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.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.TTableGeneration.tuple_count

Definition at line 4339 of file ttypes.py.

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


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