#include <OraDbSchema.h>
Public Member Functions | |
void | addTag (const std::string &tag, const std::string token) |
cond::IOVEditor | editor () |
bool | existsTag (const std::string &tag) |
std::string | getToken (const std::string &tag) |
IOVCache (cond::DbSession &s) | |
cond::IOVProxy | iovSequence () |
bool | load (const std::string &tag) |
cond::DbSession & | session () |
void | setValidationMode () |
bool | validationMode () |
Private Attributes | |
cond::IOVEditor | m_iovAccess |
std::string | m_tag |
std::string | m_token |
bool | m_validationMode = false |
Definition at line 18 of file OraDbSchema.h.
cond::persistency::IOVCache::IOVCache | ( | cond::DbSession & | s | ) |
Definition at line 17 of file OraDbSchema.cc.
void cond::persistency::IOVCache::addTag | ( | const std::string & | tag, |
const std::string | token | ||
) |
Definition at line 47 of file OraDbSchema.cc.
References cond::MetaData::addMapping(), m_tag, m_token, session(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by cond::persistency::OraTagTable::insert().
cond::IOVEditor cond::persistency::IOVCache::editor | ( | ) |
Definition at line 29 of file OraDbSchema.cc.
References m_iovAccess.
Referenced by cond::persistency::OraTagTable::insert(), cond::persistency::OraIOVTable::insertMany(), cond::persistency::OraIOVTable::insertOne(), and cond::persistency::OraTagTable::update().
bool cond::persistency::IOVCache::existsTag | ( | const std::string & | tag | ) |
Definition at line 33 of file OraDbSchema.cc.
References cond::MetaData::hasTag(), and session().
Referenced by cond::persistency::OraTagTable::select().
std::string cond::persistency::IOVCache::getToken | ( | const std::string & | tag | ) |
Definition at line 38 of file OraDbSchema.cc.
References cond::MetaData::getToken(), m_tag, m_token, session(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by load(), and cond::persistency::OraTagTable::update().
cond::IOVProxy cond::persistency::IOVCache::iovSequence | ( | ) |
Definition at line 25 of file OraDbSchema.cc.
References m_iovAccess, and cond::IOVEditor::proxy().
Referenced by cond::persistency::OraIOVTable::getLastIov(), cond::persistency::OraTagTable::getMetadata(), cond::persistency::OraIOVTable::getSize(), cond::persistency::OraTagTable::select(), cond::persistency::OraIOVTable::selectGroups(), cond::persistency::OraIOVTable::selectLatest(), and cond::persistency::OraIOVTable::selectLatestByGroup().
bool cond::persistency::IOVCache::load | ( | const std::string & | tag | ) |
Definition at line 56 of file OraDbSchema.cc.
References getToken(), cond::IOVEditor::load(), m_iovAccess, AlCaHLTBitMon_QueryRunRegistry::string, and cond::IOVEditor::token().
Referenced by cond::persistency::OraIOVTable::getLastIov(), cond::persistency::OraTagTable::getMetadata(), MatrixToProcess.MatrixToProcess::getProcess(), cond::persistency::OraIOVTable::getSize(), cond::persistency::OraIOVTable::insertMany(), cond::persistency::OraIOVTable::insertOne(), MatrixToProcess.MatrixToProcess::listAll(), cond::persistency::OraTagTable::select(), cond::persistency::OraIOVTable::selectGroups(), cond::persistency::OraIOVTable::selectLatest(), and cond::persistency::OraIOVTable::selectLatestByGroup().
cond::DbSession & cond::persistency::IOVCache::session | ( | ) |
Definition at line 21 of file OraDbSchema.cc.
References cond::IOVProxy::db(), m_iovAccess, and cond::IOVEditor::proxy().
Referenced by addTag(), cond::persistency::OraIOVSchema::create(), cond::persistency::OraIOVSchema::exists(), existsTag(), getToken(), and cond::persistency::OraTagTable::select().
|
inline |
Definition at line 28 of file OraDbSchema.h.
References m_validationMode.
Referenced by cond::persistency::OraTagTable::setValidationMode().
|
inline |
Definition at line 31 of file OraDbSchema.h.
References m_validationMode.
Referenced by cond::persistency::OraTagTable::insert(), and cond::persistency::OraTagTable::update().
|
private |
Definition at line 35 of file OraDbSchema.h.
Referenced by editor(), iovSequence(), load(), and session().
|
private |
Definition at line 36 of file OraDbSchema.h.
Referenced by addTag(), and getToken().
|
private |
Definition at line 37 of file OraDbSchema.h.
Referenced by addTag(), and getToken().
|
private |
Definition at line 38 of file OraDbSchema.h.
Referenced by setValidationMode(), and validationMode().