CMS 3D CMS Logo

List of all members | Public Member Functions
cond::persistency::IIOVTable Class Referenceabstract

#include <IDbSchema.h>

Inheritance diagram for cond::persistency::IIOVTable:
cond::persistency::IOV::Table

Public Member Functions

virtual void create ()=0
 
virtual void erase (const std::string &tag)=0
 
virtual void eraseMany (const std::string &tag, const std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)=0
 
virtual void eraseOne (const std::string &tag, cond::Time_t since, cond::Hash payloadId)=0
 
virtual bool exists ()=0
 
virtual size_t getGroups (const std::string &tag, const boost::posix_time::ptime &snapshotTime, unsigned long long groupSize, std::vector< cond::Time_t > &groups)=0
 
virtual bool getLastIov (const std::string &tag, const boost::posix_time::ptime &snapshotTime, cond::Time_t &since, cond::Hash &hash)=0
 
virtual bool getRange (const std::string &tag, cond::Time_t begin, cond::Time_t end, const boost::posix_time::ptime &snapshotTime, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)=0
 
virtual bool getSize (const std::string &tag, const boost::posix_time::ptime &snapshotTime, size_t &size)=0
 
virtual void insertMany (const std::string &tag, const std::vector< std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > > &iovs)=0
 
virtual void insertOne (const std::string &tag, cond::Time_t since, cond::Hash payloadHash, const boost::posix_time::ptime &insertTime)=0
 
virtual size_t select (const std::string &tag, cond::Time_t lowerGroup, cond::Time_t upperGroup, const boost::posix_time::ptime &snapshotTime, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)=0
 
virtual ~IIOVTable ()
 

Detailed Description

Definition at line 71 of file IDbSchema.h.

Constructor & Destructor Documentation

◆ ~IIOVTable()

virtual cond::persistency::IIOVTable::~IIOVTable ( )
inlinevirtual

Definition at line 73 of file IDbSchema.h.

73 {}

Member Function Documentation

◆ create()

virtual void cond::persistency::IIOVTable::create ( )
pure virtual

◆ erase()

virtual void cond::persistency::IIOVTable::erase ( const std::string &  tag)
pure virtual

◆ eraseMany()

virtual void cond::persistency::IIOVTable::eraseMany ( const std::string &  tag,
const std::vector< std::tuple< cond::Time_t, cond::Hash > > &  iovs 
)
pure virtual

◆ eraseOne()

virtual void cond::persistency::IIOVTable::eraseOne ( const std::string &  tag,
cond::Time_t  since,
cond::Hash  payloadId 
)
pure virtual

◆ exists()

virtual bool cond::persistency::IIOVTable::exists ( )
pure virtual

◆ getGroups()

virtual size_t cond::persistency::IIOVTable::getGroups ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
unsigned long long  groupSize,
std::vector< cond::Time_t > &  groups 
)
pure virtual

◆ getLastIov()

virtual bool cond::persistency::IIOVTable::getLastIov ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
cond::Time_t since,
cond::Hash hash 
)
pure virtual

◆ getRange()

virtual bool cond::persistency::IIOVTable::getRange ( const std::string &  tag,
cond::Time_t  begin,
cond::Time_t  end,
const boost::posix_time::ptime &  snapshotTime,
std::vector< std::tuple< cond::Time_t, cond::Hash > > &  iovs 
)
pure virtual

◆ getSize()

virtual bool cond::persistency::IIOVTable::getSize ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
size_t &  size 
)
pure virtual

◆ insertMany()

virtual void cond::persistency::IIOVTable::insertMany ( const std::string &  tag,
const std::vector< std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > > &  iovs 
)
pure virtual

◆ insertOne()

virtual void cond::persistency::IIOVTable::insertOne ( const std::string &  tag,
cond::Time_t  since,
cond::Hash  payloadHash,
const boost::posix_time::ptime &  insertTime 
)
pure virtual

◆ select()

virtual size_t cond::persistency::IIOVTable::select ( const std::string &  tag,
cond::Time_t  lowerGroup,
cond::Time_t  upperGroup,
const boost::posix_time::ptime &  snapshotTime,
std::vector< std::tuple< cond::Time_t, cond::Hash > > &  iovs 
)
pure virtual