Public Member Functions | |
AlignSplitIOV () | |
int | execute () override |
template<class T > | |
std::string | processPayloadContainer (cond::DbSession &sourcedb, cond::DbSession &destdb, const std::string &token, const std::string &containerName) |
~AlignSplitIOV () | |
Public Member Functions inherited from cond::Utilities | |
void | addAuthenticationOptions () |
void | addConfigFileOption () |
void | addConnectOption () |
void | addConnectOption (const std::string &connectionOptionName, const std::string &shortName, const std::string &helpEntry) |
void | addDictionaryOption () |
void | addLogDBOption () |
template<typename T > | |
void | addOption (const std::string &fullName, const std::string &shortName, const std::string &helpEntry) |
template<> | |
void | addOption (const std::string &fullName, const std::string &shortName, const std::string &helpEntry) |
void | addSQLOutputOption () |
std::string | getAuthenticationPathValue () |
std::string | getConfigFileValue () |
std::string | getConnectValue () |
std::string | getDictionaryValue () |
std::string | getLogDBValue () |
template<typename T > | |
T | getOptionValue (const std::string &fullName) |
std::string | getPasswordValue () |
std::string | getUserValue () |
bool | hasDebug () |
bool | hasOptionValue (const std::string &fullName) |
void | initializePluginManager () |
cond::DbSession | openDbSession (const std::string &connectionParameterName, bool readOnly=false) |
cond::DbSession | openDbSession (const std::string &connectionParameterName, const std::string &role, bool readOnly=false) |
void | parseCommand (int argc, char **argv) |
int | run (int argc, char **argv) |
Utilities (const std::string &commandName, std::string positionalParameter=std::string("")) | |
virtual | ~Utilities () |
Additional Inherited Members | |
Protected Member Functions inherited from cond::Utilities | |
void | initializeForDbConnection () |
cond::DbSession | newDbSession (const std::string &connectionString, bool readOnly=false) |
cond::DbSession | newDbSession (const std::string &connectionString, const std::string &role, bool readOnly=false) |
Protected Attributes inherited from cond::Utilities | |
edm::ServiceToken * | m_currentToken = 0 |
Definition at line 38 of file aligncond_split_iov.cc.
cond::AlignSplitIOV::AlignSplitIOV | ( | ) |
Definition at line 52 of file aligncond_split_iov.cc.
References cond::Utilities::addAuthenticationOptions(), and cond::Utilities::addConnectOption().
cond::AlignSplitIOV::~AlignSplitIOV | ( | ) |
Definition at line 63 of file aligncond_split_iov.cc.
|
overridevirtual |
Reimplemented from cond::Utilities.
Definition at line 68 of file aligncond_split_iov.cc.
References cond::MetaData::addMapping(), cond::IOVEditor::append(), cond::IOVProxy::begin(), cond::DbSession::classNameForItem(), cond::DbScopedTransaction::commit(), counter, gather_cfg::cout, cond::IOVEditor::create(), idDealer::editor, cond::IOVProxy::end(), cond::TimeTypeSpecs::endValue, cond::MetaData::getToken(), o2o::iov, max(), bookConverter::min, cond::IOVEditor::stamp(), cond::DbScopedTransaction::start(), cond::DbTransaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, cond::IOVProxy::timetype(), cond::timeTypeSpecs, cond::IOVEditor::token(), cond::DbSession::transaction(), python.IdGenerator::transaction, and cond::userInfo().
std::string cond::AlignSplitIOV::processPayloadContainer | ( | cond::DbSession & | sourcedb, |
cond::DbSession & | destdb, | ||
const std::string & | token, | ||
const std::string & | containerName | ||
) |
Definition at line 171 of file aligncond_split_iov.cc.
References cond::DbSession::createDatabase(), cond::DbSession::getTypedObject(), and cond::DbSession::storeObject().