#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 | 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 85 of file OraDbSchema.h.
|
explicit |
Definition at line 154 of file OraDbSchema.cc.
|
inlinevirtual |
Definition at line 88 of file OraDbSchema.h.
|
inlinevirtual |
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 242 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 204 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 212 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 218 of file OraDbSchema.cc.
References getSize().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 230 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 223 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 158 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 193 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 174 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 186 of file OraDbSchema.cc.
References selectLatestByGroup().
|
virtual |
Implements cond::persistency::IIOVTable.
Definition at line 168 of file OraDbSchema.cc.
References selectGroups().
|
private |
Definition at line 112 of file OraDbSchema.h.
Referenced by getLastIov(), getSize(), insertMany(), insertOne(), selectGroups(), selectLatest(), and selectLatestByGroup().