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

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TTableEpochInfo.__init__ (   self,
  table_id = None,
  table_epoch = None,
  leaf_index = None 
)

Definition at line 6026 of file ttypes.py.

6027  def __init__(self, table_id=None, table_epoch=None, leaf_index=None,):
6028  self.table_id = table_id
6029  self.table_epoch = table_epoch
6030  self.leaf_index = leaf_index

Member Function Documentation

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

Definition at line 6088 of file ttypes.py.

6089  def __eq__(self, other):
6090  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TTableEpochInfo.__ne__ (   self,
  other 
)

Definition at line 6091 of file ttypes.py.

6092  def __ne__(self, other):
6093  return not (self == other)
6094 all_structs.append(TDatumVal)
TDatumVal.thrift_spec = (
def omnisci.thrift.ttypes.TTableEpochInfo.__repr__ (   self)

Definition at line 6083 of file ttypes.py.

6084  def __repr__(self):
6085  L = ['%s=%r' % (key, value)
6086  for key, value in self.__dict__.items()]
6087  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.TTableEpochInfo.read (   self,
  iprot 
)

Definition at line 6031 of file ttypes.py.

References Catalog_Namespace::TableEpochInfo.leaf_index, omnisci.thrift.ttypes.TTableEpochInfo.leaf_index, Catalog_Namespace::TableEpochInfo.table_epoch, omnisci.thrift.ttypes.TTableEpochInfo.table_epoch, 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.ttypes.TInsertData.table_id, omnisci.thrift.ttypes.TTableEpochInfo.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, and omnisci.thrift.OmniSci.checkpoint_args.table_id.

6032  def read(self, iprot):
6033  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
6034  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
6035  return
6036  iprot.readStructBegin()
6037  while True:
6038  (fname, ftype, fid) = iprot.readFieldBegin()
6039  if ftype == TType.STOP:
6040  break
6041  if fid == 1:
6042  if ftype == TType.I32:
6043  self.table_id = iprot.readI32()
6044  else:
6045  iprot.skip(ftype)
6046  elif fid == 2:
6047  if ftype == TType.I32:
6048  self.table_epoch = iprot.readI32()
6049  else:
6050  iprot.skip(ftype)
6051  elif fid == 3:
6052  if ftype == TType.I32:
6053  self.leaf_index = iprot.readI32()
6054  else:
6055  iprot.skip(ftype)
6056  else:
6057  iprot.skip(ftype)
6058  iprot.readFieldEnd()
6059  iprot.readStructEnd()
def omnisci.thrift.ttypes.TTableEpochInfo.validate (   self)

Definition at line 6080 of file ttypes.py.

6081  def validate(self):
6082  return
def omnisci.thrift.ttypes.TTableEpochInfo.write (   self,
  oprot 
)

Definition at line 6060 of file ttypes.py.

References Catalog_Namespace::TableEpochInfo.leaf_index, omnisci.thrift.ttypes.TTableEpochInfo.leaf_index, Catalog_Namespace::TableEpochInfo.table_epoch, omnisci.thrift.ttypes.TTableEpochInfo.table_epoch, 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.ttypes.TInsertData.table_id, omnisci.thrift.ttypes.TTableEpochInfo.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, and omnisci.thrift.OmniSci.checkpoint_args.table_id.

6061  def write(self, oprot):
6062  if oprot._fast_encode is not None and self.thrift_spec is not None:
6063  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
6064  return
6065  oprot.writeStructBegin('TTableEpochInfo')
6066  if self.table_id is not None:
6067  oprot.writeFieldBegin('table_id', TType.I32, 1)
6068  oprot.writeI32(self.table_id)
6069  oprot.writeFieldEnd()
6070  if self.table_epoch is not None:
6071  oprot.writeFieldBegin('table_epoch', TType.I32, 2)
6072  oprot.writeI32(self.table_epoch)
6073  oprot.writeFieldEnd()
6074  if self.leaf_index is not None:
6075  oprot.writeFieldBegin('leaf_index', TType.I32, 3)
6076  oprot.writeI32(self.leaf_index)
6077  oprot.writeFieldEnd()
6078  oprot.writeFieldStop()
6079  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TTableEpochInfo.__dict__
private

Definition at line 6089 of file ttypes.py.

omnisci.thrift.ttypes.TTableEpochInfo.leaf_index

Definition at line 6029 of file ttypes.py.

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

omnisci.thrift.ttypes.TTableEpochInfo.table_epoch

Definition at line 6028 of file ttypes.py.

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

omnisci.thrift.ttypes.TTableEpochInfo.table_id

Definition at line 6027 of file ttypes.py.

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


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