#include <TrigDBHelper.h>
Definition at line 28 of file TrigDBHelper.h.
◆ addToTableList()
void TrigConf::QueryDefinition::addToTableList |
( |
const std::string & |
table, |
|
|
const std::string & |
table_short = "" |
|
) |
| |
◆ createQuery()
std::unique_ptr< coral::IQuery > TrigConf::QueryDefinition::createQuery |
( |
coral::ISessionProxy * |
session | ) |
|
Definition at line 10 of file TrigDBHelper.cxx.
13 std::unique_ptr< coral::IQuery >
query( session->nominalSchema().newQuery() );
22 const std::string &
fieldName = bindVar.specification().name();
24 throw std::runtime_error(
"Column " +
fieldName +
" has been bound, but not set to a value" );
33 for(
const coral::Attribute & attr :
m_attList ) {
34 query->addToOutputList(attr.specification().name());
◆ dataName()
const std::string& TrigConf::QueryDefinition::dataName |
( |
| ) |
|
|
inline |
◆ extendBinding()
template<typename T >
void TrigConf::QueryDefinition::extendBinding |
( |
const std::string & |
fieldName | ) |
|
◆ extendCondition()
void TrigConf::QueryDefinition::extendCondition |
( |
const std::string & |
condext | ) |
|
◆ extendOutput()
template<typename T >
void TrigConf::QueryDefinition::extendOutput |
( |
const std::string & |
fieldName | ) |
|
◆ setBoundValue()
template<typename T >
void TrigConf::QueryDefinition::setBoundValue |
( |
const std::string & |
fieldName, |
|
|
const T & |
value |
|
) |
| |
◆ setDataName()
void TrigConf::QueryDefinition::setDataName |
( |
const std::string & |
dataName | ) |
|
|
inline |
◆ m_attList
coral::AttributeList TrigConf::QueryDefinition::m_attList |
|
private |
◆ m_bindList
coral::AttributeList TrigConf::QueryDefinition::m_bindList |
|
private |
◆ m_bound
std::set<std::string> TrigConf::QueryDefinition::m_bound |
|
private |
◆ m_condition
std::string TrigConf::QueryDefinition::m_condition {""} |
|
private |
◆ m_dataName
std::string TrigConf::QueryDefinition::m_dataName |
|
private |
◆ m_tables
std::vector<std::pair<std::string,std::string> > TrigConf::QueryDefinition::m_tables {} |
|
private |
The documentation for this class was generated from the following files: