#include <idDealer.h>
Public Member Functions | |
unsigned long long | generateNextIDForTable (const std::string &tableName, unsigned int interval=1) |
unsigned long long | getIDforTable (const std::string &tableName) |
idDealer (coral::ISchema &schema) | |
Private Attributes | |
std::string | m_idtablecolumnName |
std::string | m_idtablecolumnType |
coral::ISchema & | m_schema |
Definition at line 8 of file idDealer.h.
|
explicit |
Definition at line 14 of file idDealer.cc.
unsigned long long lumi::idDealer::generateNextIDForTable | ( | const std::string & | tableName, |
unsigned int | interval = 1 |
||
) |
Definition at line 31 of file idDealer.cc.
References lumi::LumiNames::idTableName(), python.IdGenerator::idtableName, idDealer::inputData, MergeJob_cfg::interval, lumiQueryAPI::q, and alignCSCRings::r.
Referenced by lumi::RevisionDML::bookNewEntry(), lumi::RevisionDML::bookNewRevision(), lumi::HLTDummy2DB::retrieveData(), lumi::TRGDummy2DB::retrieveData(), lumi::LumiDummy2DB::retrieveData(), lumi::TRGWBM2DB::retrieveData(), lumi::Lumi2DB::writeAllLumiData(), lumi::HLTV32DB::writeHltData(), and lumi::TRGScalers2DB::writeTrgData().
unsigned long long lumi::idDealer::getIDforTable | ( | const std::string & | tableName | ) |
Definition at line 16 of file idDealer.cc.
References lumi::LumiNames::idTableName(), python.IdGenerator::idtableName, lumiQueryAPI::q, and query::result.
|
private |
Definition at line 15 of file idDealer.h.
|
private |
Definition at line 16 of file idDealer.h.
|
private |
Definition at line 14 of file idDealer.h.