#include <OraDbSchema.h>
Public Member Functions | |
void | create () |
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 | 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 | 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 77 of file OraDbSchema.h.
|
explicit |
Definition at line 138 of file OraDbSchema.cc.
|
inlinevirtual |
Definition at line 80 of file OraDbSchema.h.
|
inlinevirtual |
|
inlinevirtual |
Implements cond::persistency::IIOVTable.
Definition at line 81 of file OraDbSchema.h.
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 188 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().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 196 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 202 of file OraDbSchema.cc.
References getSize().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 214 of file OraDbSchema.cc.
References cond::IOVEditor::bulkAppend(), data, cond::persistency::IOVCache::editor(), cond::persistency::IOVCache::load(), m_cache, cond::persistency::throwException(), and findQualityFiles::v.
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 207 of file OraDbSchema.cc.
References cond::IOVEditor::append(), cond::persistency::IOVCache::editor(), cond::persistency::IOVCache::load(), m_cache, and cond::persistency::throwException().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 142 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 177 of file OraDbSchema.cc.
References o2o::iov, cond::persistency::IOVCache::iovSequence(), cond::persistency::IOVCache::load(), m_cache, and run_regression::ret.
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 158 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 170 of file OraDbSchema.cc.
References selectLatestByGroup().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 152 of file OraDbSchema.cc.
References selectGroups().
|
private |
Definition at line 103 of file OraDbSchema.h.
Referenced by getLastIov(), getSize(), insertMany(), insertOne(), selectGroups(), selectLatest(), and selectLatestByGroup().