#include <OraDbSchema.h>
Public Member Functions | |
void | create () |
void | erase (const std::string &tag) |
bool | exists () |
bool | getLastIov (const std::string &tag, cond::Time_t &since, cond::Hash &hash) |
bool | getSize (const std::string &tag, size_t &size) |
bool | getSnapshotLastIov (const std::string &tag, const boost::posix_time::ptime &snapshotTime, cond::Time_t &since, cond::Hash &hash) |
bool | getSnapshotSize (const std::string &tag, const boost::posix_time::ptime &snapshotTime, size_t &size) |
void | insertMany (const std::string &tag, const std::vector< std::tuple< cond::Time_t, cond::Hash, boost::posix_time::ptime > > &iovs) |
void | insertOne (const std::string &tag, cond::Time_t since, cond::Hash payloadHash, const boost::posix_time::ptime &insertTime) |
OraIOVTable (IOVCache &cache) | |
size_t | selectGroups (const std::string &tag, std::vector< cond::Time_t > &groups) |
size_t | selectLatest (const std::string &tag, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs) |
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) |
size_t | selectSnapshot (const std::string &tag, const boost::posix_time::ptime &snapshotTime, std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs) |
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) |
size_t | selectSnapshotGroups (const std::string &tag, const boost::posix_time::ptime &snapshotTime, std::vector< cond::Time_t > &groups) |
virtual | ~OraIOVTable () |
Public Member Functions inherited from cond::persistency::IIOVTable | |
virtual | ~IIOVTable () |
Private Attributes | |
IOVCache & | m_cache |
Definition at line 85 of file OraDbSchema.h.
|
explicit |
Definition at line 163 of file OraDbSchema.cc.
|
inlinevirtual |
Definition at line 88 of file OraDbSchema.h.
|
inlinevirtual |
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 273 of file OraDbSchema.cc.
References cond::persistency::throwException().
|
inlinevirtual |
Implements cond::persistency::IIOVTable.
Definition at line 89 of file OraDbSchema.h.
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 219 of file OraDbSchema.cc.
References cond::IOVProxy::end(), cond::persistency::IOVCache::iovSequence(), prof2calltree::last, cond::persistency::IOVCache::load(), m_cache, cond::IOVElementProxy::since(), cond::IOVProxy::size(), and cond::IOVElementProxy::token().
Referenced by getSnapshotLastIov().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 233 of file OraDbSchema.cc.
References cond::persistency::IOVCache::iovSequence(), cond::persistency::IOVCache::load(), m_cache, and cond::IOVProxy::size().
Referenced by getSnapshotSize().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 227 of file OraDbSchema.cc.
References getLastIov().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 239 of file OraDbSchema.cc.
References getSize().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 255 of file OraDbSchema.cc.
References cond::IOVEditor::bulkAppend(), AlCaHLTBitMon_QueryRunRegistry::data, cond::persistency::IOVCache::editor(), cond::hash, insertOne(), cond::persistency::IOVCache::load(), m_cache, cond::persistency::throwException(), cond::IOVEditor::timetype(), and findQualityFiles::v.
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 244 of file OraDbSchema.cc.
References cond::IOVEditor::append(), cond::persistency::IOVCache::editor(), cond::IOVEditor::freeInsert(), cond::hash, cond::persistency::IOVCache::load(), m_cache, cond::persistency::throwException(), and cond::IOVEditor::timetype().
Referenced by insertMany().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 167 of file OraDbSchema.cc.
References cond::IOVProxy::firstSince(), cond::persistency::IOVCache::iovSequence(), cond::IOVProxy::lastTill(), cond::persistency::IOVCache::load(), m_cache, and cond::IOVProxy::size().
Referenced by selectSnapshotGroups().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 202 of file OraDbSchema.cc.
References o2o::iov, cond::persistency::IOVCache::iovSequence(), cond::persistency::IOVCache::load(), m_cache, and run_regression::ret.
Referenced by selectSnapshot().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 183 of file OraDbSchema.cc.
References o2o::iov, cond::persistency::IOVCache::iovSequence(), cond::persistency::IOVCache::load(), m_cache, cond::IOVProxy::range(), and run_regression::ret.
Referenced by selectSnapshotByGroup().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 213 of file OraDbSchema.cc.
References selectLatest().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 195 of file OraDbSchema.cc.
References selectLatestByGroup().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 177 of file OraDbSchema.cc.
References selectGroups().
|
private |
Definition at line 114 of file OraDbSchema.h.
Referenced by getLastIov(), getSize(), insertMany(), insertOne(), selectGroups(), selectLatest(), and selectLatestByGroup().