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

Public Member Functions

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

Public Attributes

 table_id
 
 db_id
 
 is_cached_on_disk
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - table_id
 - db_id
 - is_cached_on_disk

Definition at line 4416 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TTableCacheStatus.__init__ (   self,
  table_id = None,
  db_id = None,
  is_cached_on_disk = None 
)

Definition at line 4426 of file ttypes.py.

4427  def __init__(self, table_id=None, db_id=None, is_cached_on_disk=None,):
4428  self.table_id = table_id
4429  self.db_id = db_id
4430  self.is_cached_on_disk = is_cached_on_disk

Member Function Documentation

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

Definition at line 4488 of file ttypes.py.

4489  def __eq__(self, other):
4490  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TTableCacheStatus.__ne__ (   self,
  other 
)

Definition at line 4491 of file ttypes.py.

4492  def __ne__(self, other):
4493  return not (self == other)
4494 
def heavydb.thrift.ttypes.TTableCacheStatus.__repr__ (   self)

Definition at line 4483 of file ttypes.py.

4484  def __repr__(self):
4485  L = ['%s=%r' % (key, value)
4486  for key, value in self.__dict__.items()]
4487  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.TTableCacheStatus.read (   self,
  iprot 
)

Definition at line 4431 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.ttypes.TTableCacheStatus.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.TTableCacheStatus.is_cached_on_disk, 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.ttypes.TTableCacheStatus.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, and heavydb.thrift.Heavy.checkpoint_args.table_id.

4432  def read(self, iprot):
4433  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4434  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4435  return
4436  iprot.readStructBegin()
4437  while True:
4438  (fname, ftype, fid) = iprot.readFieldBegin()
4439  if ftype == TType.STOP:
4440  break
4441  if fid == 1:
4442  if ftype == TType.I32:
4443  self.table_id = iprot.readI32()
4444  else:
4445  iprot.skip(ftype)
4446  elif fid == 2:
4447  if ftype == TType.I32:
4448  self.db_id = iprot.readI32()
4449  else:
4450  iprot.skip(ftype)
4451  elif fid == 3:
4452  if ftype == TType.BOOL:
4453  self.is_cached_on_disk = iprot.readBool()
4454  else:
4455  iprot.skip(ftype)
4456  else:
4457  iprot.skip(ftype)
4458  iprot.readFieldEnd()
4459  iprot.readStructEnd()
def heavydb.thrift.ttypes.TTableCacheStatus.validate (   self)

Definition at line 4480 of file ttypes.py.

4481  def validate(self):
4482  return
def heavydb.thrift.ttypes.TTableCacheStatus.write (   self,
  oprot 
)

Definition at line 4460 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.ttypes.TTableCacheStatus.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.TTableCacheStatus.is_cached_on_disk, 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.ttypes.TTableCacheStatus.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, and heavydb.thrift.Heavy.checkpoint_args.table_id.

4461  def write(self, oprot):
4462  if oprot._fast_encode is not None and self.thrift_spec is not None:
4463  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4464  return
4465  oprot.writeStructBegin('TTableCacheStatus')
4466  if self.table_id is not None:
4467  oprot.writeFieldBegin('table_id', TType.I32, 1)
4468  oprot.writeI32(self.table_id)
4469  oprot.writeFieldEnd()
4470  if self.db_id is not None:
4471  oprot.writeFieldBegin('db_id', TType.I32, 2)
4472  oprot.writeI32(self.db_id)
4473  oprot.writeFieldEnd()
4474  if self.is_cached_on_disk is not None:
4475  oprot.writeFieldBegin('is_cached_on_disk', TType.BOOL, 3)
4476  oprot.writeBool(self.is_cached_on_disk)
4477  oprot.writeFieldEnd()
4478  oprot.writeFieldStop()
4479  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TTableCacheStatus.__dict__
private

Definition at line 4489 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TTableCacheStatus.db_id

Definition at line 4428 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableCacheStatus.is_cached_on_disk

Definition at line 4429 of file ttypes.py.

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

heavydb.thrift.ttypes.TTableCacheStatus.table_id

Definition at line 4427 of file ttypes.py.

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


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