#include <TrigDBHelper.h>
Definition at line 30 of file TrigDBHelper.h.
◆ addToTableList()
| void TrigConf::QueryDefinition::addToTableList |
( |
const std::string & | table, |
|
|
const std::string & | table_short = "" ) |
Definition at line 44 of file TrigDBHelper.cxx.
45{
46 m_tables.emplace_back(table, table_short);
47}
std::vector< std::pair< std::string, std::string > > m_tables
◆ createQuery()
| std::unique_ptr< coral::IQuery > TrigConf::QueryDefinition::createQuery |
( |
coral::ISessionProxy * | session | ) |
|
Definition at line 13 of file TrigDBHelper.cxx.
14{
15
16 std::unique_ptr< coral::IQuery >
query( session->nominalSchema().newQuery() );
17
18
21 }
22
23
25 const std::string &
fieldName = bindVar.specification().name();
27 throw std::runtime_error( "Column " + fieldName + " has been bound, but not set to a value" );
28 }
29 }
30
31
33
34
36 for(
const coral::Attribute & attr :
m_attList ) {
37 query->addToOutputList(attr.specification().name());
38 }
39
41}
coral::AttributeList m_bindList
std::set< std::string > m_bound
coral::AttributeList m_attList
◆ 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 |
Definition at line 49 of file TrigDBHelper.h.
49 {
51 }
const std::string & dataName()
◆ 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: