CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 bool exists ()=0
 
virtual bool getLastIov (const std::string &tag, cond::Time_t &since, cond::Hash &hash)=0
 
virtual bool getSize (const std::string &tag, size_t &size)=0
 
virtual bool getSnapshotLastIov (const std::string &tag, const boost::posix_time::ptime &snapshotTime, cond::Time_t &since, cond::Hash &hash)=0
 
virtual bool getSnapshotSize (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 selectGroups (const std::string &tag, std::vector< cond::Time_t > &groups)=0
 
virtual size_t selectLatest (const std::string &tag, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)=0
 
virtual size_t selectLatestByGroup (const std::string &tag, cond::Time_t lowerGroup, cond::Time_t upperGroup, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)=0
 
virtual size_t selectSnapshot (const std::string &tag, const boost::posix_time::ptime &snapshotTime, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)=0
 
virtual size_t selectSnapshotByGroup (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 size_t selectSnapshotGroups (const std::string &tag, const boost::posix_time::ptime &snapshotTime, std::vector< cond::Time_t > &groups)=0
 
virtual ~IIOVTable ()
 

Detailed Description

Definition at line 43 of file IDbSchema.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file IDbSchema.h.

45 {}

Member Function Documentation

virtual void cond::persistency::IIOVTable::create ( )
pure virtual
virtual void cond::persistency::IIOVTable::erase ( const std::string &  tag)
pure virtual
virtual bool cond::persistency::IIOVTable::exists ( )
pure virtual
virtual bool cond::persistency::IIOVTable::getLastIov ( const std::string &  tag,
cond::Time_t since,
cond::Hash hash 
)
pure virtual
virtual bool cond::persistency::IIOVTable::getSize ( const std::string &  tag,
size_t &  size 
)
pure virtual
virtual bool cond::persistency::IIOVTable::getSnapshotLastIov ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
cond::Time_t since,
cond::Hash hash 
)
pure virtual
virtual bool cond::persistency::IIOVTable::getSnapshotSize ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
size_t &  size 
)
pure virtual
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
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
virtual size_t cond::persistency::IIOVTable::selectGroups ( const std::string &  tag,
std::vector< cond::Time_t > &  groups 
)
pure virtual
virtual size_t cond::persistency::IIOVTable::selectLatest ( const std::string &  tag,
std::vector< std::tuple< cond::Time_t, cond::Hash > > &  iovs 
)
pure virtual
virtual size_t cond::persistency::IIOVTable::selectLatestByGroup ( const std::string &  tag,
cond::Time_t  lowerGroup,
cond::Time_t  upperGroup,
std::vector< std::tuple< cond::Time_t, cond::Hash > > &  iovs 
)
pure virtual
virtual size_t cond::persistency::IIOVTable::selectSnapshot ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
std::vector< std::tuple< cond::Time_t, cond::Hash > > &  iovs 
)
pure virtual
virtual size_t cond::persistency::IIOVTable::selectSnapshotByGroup ( 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
virtual size_t cond::persistency::IIOVTable::selectSnapshotGroups ( const std::string &  tag,
const boost::posix_time::ptime &  snapshotTime,
std::vector< cond::Time_t > &  groups 
)
pure virtual