OmniSciDB  340b00dbf6
 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 3896 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 3906 of file ttypes.py.

3907  def __init__(self, table_id=None, tuple_count=None, start_rowid=None,):
3908  self.table_id = table_id
3909  self.tuple_count = tuple_count
3910  self.start_rowid = start_rowid

Member Function Documentation

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

Definition at line 3968 of file ttypes.py.

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

Definition at line 3971 of file ttypes.py.

3972  def __ne__(self, other):
3973  return not (self == other)
3974 
def omnisci.thrift.ttypes.TTableGeneration.__repr__ (   self)

Definition at line 3963 of file ttypes.py.

3964  def __repr__(self):
3965  L = ['%s=%r' % (key, value)
3966  for key, value in self.__dict__.items()]
3967  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 3911 of file ttypes.py.

References omnisci.thrift.ttypes.TTableGeneration.start_rowid, 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.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, and omnisci.thrift.ttypes.TTableGeneration.tuple_count.

3912  def read(self, iprot):
3913  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
3914  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
3915  return
3916  iprot.readStructBegin()
3917  while True:
3918  (fname, ftype, fid) = iprot.readFieldBegin()
3919  if ftype == TType.STOP:
3920  break
3921  if fid == 1:
3922  if ftype == TType.I32:
3923  self.table_id = iprot.readI32()
3924  else:
3925  iprot.skip(ftype)
3926  elif fid == 2:
3927  if ftype == TType.I64:
3928  self.tuple_count = iprot.readI64()
3929  else:
3930  iprot.skip(ftype)
3931  elif fid == 3:
3932  if ftype == TType.I64:
3933  self.start_rowid = iprot.readI64()
3934  else:
3935  iprot.skip(ftype)
3936  else:
3937  iprot.skip(ftype)
3938  iprot.readFieldEnd()
3939  iprot.readStructEnd()
def omnisci.thrift.ttypes.TTableGeneration.validate (   self)

Definition at line 3960 of file ttypes.py.

3961  def validate(self):
3962  return
def omnisci.thrift.ttypes.TTableGeneration.write (   self,
  oprot 
)

Definition at line 3940 of file ttypes.py.

References omnisci.thrift.ttypes.TTableGeneration.start_rowid, 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.check_table_consistency_args.table_id, omnisci.thrift.OmniSci.checkpoint_args.table_id, and omnisci.thrift.ttypes.TTableGeneration.tuple_count.

3941  def write(self, oprot):
3942  if oprot._fast_encode is not None and self.thrift_spec is not None:
3943  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
3944  return
3945  oprot.writeStructBegin('TTableGeneration')
3946  if self.table_id is not None:
3947  oprot.writeFieldBegin('table_id', TType.I32, 1)
3948  oprot.writeI32(self.table_id)
3949  oprot.writeFieldEnd()
3950  if self.tuple_count is not None:
3951  oprot.writeFieldBegin('tuple_count', TType.I64, 2)
3952  oprot.writeI64(self.tuple_count)
3953  oprot.writeFieldEnd()
3954  if self.start_rowid is not None:
3955  oprot.writeFieldBegin('start_rowid', TType.I64, 3)
3956  oprot.writeI64(self.start_rowid)
3957  oprot.writeFieldEnd()
3958  oprot.writeFieldStop()
3959  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TTableGeneration.__dict__
private

Definition at line 3969 of file ttypes.py.

omnisci.thrift.ttypes.TTableGeneration.start_rowid

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

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

omnisci.thrift.ttypes.TTableGeneration.tuple_count

Definition at line 3908 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: