OmniSciDB  a575cb28ea
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TTableGeneration Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TTableGeneration:
+ Collaboration diagram for omnisci.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 3776 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 3786 of file ttypes.py.

3787  def __init__(self, table_id=None, tuple_count=None, start_rowid=None,):
3788  self.table_id = table_id
3789  self.tuple_count = tuple_count
3790  self.start_rowid = start_rowid

Member Function Documentation

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

Definition at line 3848 of file ttypes.py.

3849  def __eq__(self, other):
3850  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TTableGeneration.__ne__ (   self,
  other 
)

Definition at line 3851 of file ttypes.py.

3852  def __ne__(self, other):
3853  return not (self == other)
3854 
def omnisci.thrift.ttypes.TTableGeneration.__repr__ (   self)

Definition at line 3843 of file ttypes.py.

3844  def __repr__(self):
3845  L = ['%s=%r' % (key, value)
3846  for key, value in self.__dict__.items()]
3847  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 omnisci.thrift.ttypes.TTableGeneration.read (   self,
  iprot 
)

Definition at line 3791 of file ttypes.py.

References omnisci.thrift.ttypes.TTableGeneration.start_rowid, TableMetadata.table_id, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.ttypes.TPixelTableRowResult.table_id, omnisci.thrift.ttypes.TTableMeta.table_id, omnisci.thrift.ttypes.TColumnRange.table_id, omnisci.thrift.ttypes.TTableGeneration.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epochs_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, and omnisci.thrift.ttypes.TTableGeneration.tuple_count.

3792  def read(self, iprot):
3793  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3794  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3795  return
3796  iprot.readStructBegin()
3797  while True:
3798  (fname, ftype, fid) = iprot.readFieldBegin()
3799  if ftype == TType.STOP:
3800  break
3801  if fid == 1:
3802  if ftype == TType.I32:
3803  self.table_id = iprot.readI32()
3804  else:
3805  iprot.skip(ftype)
3806  elif fid == 2:
3807  if ftype == TType.I64:
3808  self.tuple_count = iprot.readI64()
3809  else:
3810  iprot.skip(ftype)
3811  elif fid == 3:
3812  if ftype == TType.I64:
3813  self.start_rowid = iprot.readI64()
3814  else:
3815  iprot.skip(ftype)
3816  else:
3817  iprot.skip(ftype)
3818  iprot.readFieldEnd()
3819  iprot.readStructEnd()
def omnisci.thrift.ttypes.TTableGeneration.validate (   self)

Definition at line 3840 of file ttypes.py.

3841  def validate(self):
3842  return
def omnisci.thrift.ttypes.TTableGeneration.write (   self,
  oprot 
)

Definition at line 3820 of file ttypes.py.

References omnisci.thrift.ttypes.TTableGeneration.start_rowid, TableMetadata.table_id, Catalog_Namespace::TableEpochInfo.table_id, Analyzer::ColumnVar.table_id, omnisci.thrift.ttypes.TPixelTableRowResult.table_id, omnisci.thrift.ttypes.TTableMeta.table_id, omnisci.thrift.ttypes.TColumnRange.table_id, omnisci.thrift.ttypes.TTableGeneration.table_id, omnisci.thrift.OmniSci.set_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epoch_args.table_id, omnisci.thrift.OmniSci.get_table_epochs_args.table_id, omnisci.thrift.OmniSci.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, and omnisci.thrift.ttypes.TTableGeneration.tuple_count.

3821  def write(self, oprot):
3822  if oprot._fast_encode is not None and self.thrift_spec is not None:
3823  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3824  return
3825  oprot.writeStructBegin('TTableGeneration')
3826  if self.table_id is not None:
3827  oprot.writeFieldBegin('table_id', TType.I32, 1)
3828  oprot.writeI32(self.table_id)
3829  oprot.writeFieldEnd()
3830  if self.tuple_count is not None:
3831  oprot.writeFieldBegin('tuple_count', TType.I64, 2)
3832  oprot.writeI64(self.tuple_count)
3833  oprot.writeFieldEnd()
3834  if self.start_rowid is not None:
3835  oprot.writeFieldBegin('start_rowid', TType.I64, 3)
3836  oprot.writeI64(self.start_rowid)
3837  oprot.writeFieldEnd()
3838  oprot.writeFieldStop()
3839  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TTableGeneration.__dict__
private

Definition at line 3849 of file ttypes.py.

omnisci.thrift.ttypes.TTableGeneration.start_rowid

Definition at line 3789 of file ttypes.py.

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

omnisci.thrift.ttypes.TTableGeneration.table_id

Definition at line 3787 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TTableGeneration.read(), omnisci.thrift.ttypes.TInsertData.read(), omnisci.thrift.ttypes.TTableEpochInfo.read(), omnisci.thrift.ttypes.TTableGeneration.write(), omnisci.thrift.ttypes.TInsertData.write(), and omnisci.thrift.ttypes.TTableEpochInfo.write().

omnisci.thrift.ttypes.TTableGeneration.tuple_count

Definition at line 3788 of file ttypes.py.

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


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