#include <DbCore.h>
Public Member Functions | |
template<typename... ColumnTypes> | |
void | createIndex (const std::string &name) |
const coral::TableDescription & | get () |
template<typename Column , typename ReferencedColumn > | |
void | setForeignKey (const std::string &name) |
template<typename... ColumnTypes> | |
void | setPrimaryKey () |
template<typename... ColumnTypes> | |
void | setUniqueConstraint (const std::string &name) |
TableDescription (const char *name) | |
Private Member Functions | |
template<int n> | |
void | _makeList (std::vector< std::string > &) |
template<int n, typename Arg1 , typename... Args> | |
void | _makeList (std::vector< std::string > &columnNames) |
template<int n> | |
void | addColumn (coral::TableDescription &) |
template<int n, typename Arg1 , typename... Args> | |
void | addColumn (coral::TableDescription &tableDescription) |
template<int , typename Col1 , typename... Cols> | |
void | checkColumns () |
template<int > | |
void | checkColumns () |
template<typename... ColumnTypes> | |
std::vector< std::string > | makeList () |
Private Attributes | |
coral::TableDescription | m_description |
|
inlineexplicit |
Definition at line 239 of file DbCore.h.
References cond::persistency::TableDescription< Types >::addColumn(), and cond::persistency::TableDescription< Types >::m_description.
|
inlineprivate |
Definition at line 271 of file DbCore.h.
Referenced by cond::persistency::TableDescription< Types >::_makeList(), and cond::persistency::TableDescription< Types >::makeList().
|
inlineprivate |
Definition at line 273 of file DbCore.h.
References cond::persistency::TableDescription< Types >::_makeList(), gen::n, and mergeVDriftHistosByStation::name.
|
inlineprivate |
Definition at line 222 of file DbCore.h.
Referenced by cond::persistency::TableDescription< Types >::addColumn(), and cond::persistency::TableDescription< Types >::TableDescription().
|
inlineprivate |
Definition at line 224 of file DbCore.h.
References cond::persistency::TableDescription< Types >::addColumn(), cond::persistency::TableDescription< Types >::m_description, gen::n, mergeVDriftHistosByStation::name, findQualityFiles::size, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 230 of file DbCore.h.
Referenced by cond::persistency::TableDescription< Types >::createIndex(), cond::persistency::TableDescription< Types >::setPrimaryKey(), and cond::persistency::TableDescription< Types >::setUniqueConstraint().
|
inlineprivate |
|
inline |
Definition at line 256 of file DbCore.h.
References cond::persistency::TableDescription< Types >::checkColumns(), and cond::persistency::TableDescription< Types >::m_description.
|
inline |
Definition at line 266 of file DbCore.h.
References cond::persistency::TableDescription< Types >::m_description.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), cond::persistency::GLOBAL_TAG::Table::create(), cond::persistency::TAG::Table::create(), cond::persistency::GLOBAL_TAG_MAP::Table::create(), cond::persistency::PAYLOAD::Table::create(), cond::persistency::IOV::Table::create(), cond::persistency::TAG_LOG::Table::create(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
|
inlineprivate |
Definition at line 278 of file DbCore.h.
References cond::persistency::TableDescription< Types >::_makeList().
|
inline |
Definition at line 261 of file DbCore.h.
References cond::persistency::TableDescription< Types >::m_description, mergeVDriftHistosByStation::name, and HLT_25ns10e33_v2_cff::tableName.
Referenced by cond::persistency::IOV::Table::create(), and cond::persistency::TAG_LOG::Table::create().
|
inline |
Definition at line 246 of file DbCore.h.
References cond::persistency::TableDescription< Types >::checkColumns(), and cond::persistency::TableDescription< Types >::m_description.
Referenced by cond::persistency::GLOBAL_TAG::Table::create(), cond::persistency::TAG::Table::create(), cond::persistency::GLOBAL_TAG_MAP::Table::create(), cond::persistency::PAYLOAD::Table::create(), cond::persistency::IOV::Table::create(), and cond::persistency::TAG_LOG::Table::create().
|
inline |
Definition at line 251 of file DbCore.h.
References cond::persistency::TableDescription< Types >::checkColumns(), and cond::persistency::TableDescription< Types >::m_description.
|
private |
Definition at line 285 of file DbCore.h.
Referenced by cond::persistency::TableDescription< Types >::addColumn(), cond::persistency::TableDescription< Types >::createIndex(), cond::persistency::TableDescription< Types >::get(), cond::persistency::TableDescription< Types >::setForeignKey(), cond::persistency::TableDescription< Types >::setPrimaryKey(), cond::persistency::TableDescription< Types >::setUniqueConstraint(), and cond::persistency::TableDescription< Types >::TableDescription().