Definition at line 8 of file idDealer.h.
unsigned long long lumi::idDealer::generateNextIDForTable |
( |
const std::string & |
tableName, |
|
|
unsigned int |
interval = 1 |
|
) |
| |
Definition at line 33 of file idDealer.cc.
35 coral::IQuery*
q =
m_schema.tableHandle(idtableName).newQuery();
37 unsigned long long r = 0;
38 coral::AttributeList myresult;
40 q->defineOutput(myresult);
42 coral::ICursor& cursor =
q->execute();
43 while (cursor.next()) {
44 const coral::AttributeList& row = cursor.currentRow();
47 coral::ITableDataEditor& dataEditor =
m_schema.tableHandle(idtableName).dataEditor();
48 coral::AttributeList inputData;
References lumi::LumiNames::idTableName(), readEcalDQMStatus::interval, data-class-funcs::q, alignCSCRings::r, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and HLT_2018_cff::tableName.
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().