OmniSciDB  cde582ebc3
 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
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - table_id
 - tuple_count
 - start_rowid

Definition at line 4249 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 4259 of file ttypes.py.

4260  def __init__(self, table_id=None, tuple_count=None, start_rowid=None,):
4261  self.table_id = table_id
4262  self.tuple_count = tuple_count
4263  self.start_rowid = start_rowid

Member Function Documentation

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

Definition at line 4321 of file ttypes.py.

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

Definition at line 4324 of file ttypes.py.

4325  def __ne__(self, other):
4326  return not (self == other)
4327 
def heavydb.thrift.ttypes.TTableGeneration.__repr__ (   self)

Definition at line 4316 of file ttypes.py.

4317  def __repr__(self):
4318  L = ['%s=%r' % (key, value)
4319  for key, value in self.__dict__.items()]
4320  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 4264 of file ttypes.py.

References heavydb.thrift.ttypes.TTableGeneration.start_rowid, 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.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.

4265  def read(self, iprot):
4266  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4267  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4268  return
4269  iprot.readStructBegin()
4270  while True:
4271  (fname, ftype, fid) = iprot.readFieldBegin()
4272  if ftype == TType.STOP:
4273  break
4274  if fid == 1:
4275  if ftype == TType.I32:
4276  self.table_id = iprot.readI32()
4277  else:
4278  iprot.skip(ftype)
4279  elif fid == 2:
4280  if ftype == TType.I64:
4281  self.tuple_count = iprot.readI64()
4282  else:
4283  iprot.skip(ftype)
4284  elif fid == 3:
4285  if ftype == TType.I64:
4286  self.start_rowid = iprot.readI64()
4287  else:
4288  iprot.skip(ftype)
4289  else:
4290  iprot.skip(ftype)
4291  iprot.readFieldEnd()
4292  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableGeneration.validate (   self)

Definition at line 4313 of file ttypes.py.

4314  def validate(self):
4315  return
def heavydb.thrift.ttypes.TTableGeneration.write (   self,
  oprot 
)

Definition at line 4293 of file ttypes.py.

References heavydb.thrift.ttypes.TTableGeneration.start_rowid, 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.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.

4294  def write(self, oprot):
4295  if oprot._fast_encode is not None and self.thrift_spec is not None:
4296  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4297  return
4298  oprot.writeStructBegin('TTableGeneration')
4299  if self.table_id is not None:
4300  oprot.writeFieldBegin('table_id', TType.I32, 1)
4301  oprot.writeI32(self.table_id)
4302  oprot.writeFieldEnd()
4303  if self.tuple_count is not None:
4304  oprot.writeFieldBegin('tuple_count', TType.I64, 2)
4305  oprot.writeI64(self.tuple_count)
4306  oprot.writeFieldEnd()
4307  if self.start_rowid is not None:
4308  oprot.writeFieldBegin('start_rowid', TType.I64, 3)
4309  oprot.writeI64(self.start_rowid)
4310  oprot.writeFieldEnd()
4311  oprot.writeFieldStop()
4312  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableGeneration.__dict__
private

Definition at line 4322 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TTableGeneration.start_rowid

Definition at line 4262 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 4260 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TTableGeneration.read(), heavydb.thrift.ttypes.TInsertData.read(), heavydb.thrift.ttypes.TInsertChunks.read(), heavydb.thrift.ttypes.TTableEpochInfo.read(), heavydb.thrift.ttypes.TTableGeneration.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 4261 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: