#include <DbCore.h>
Public Member Functions | |
template<int n> | |
void | _Query () |
template<int n, typename Arg1 , typename... Args> | |
void | _Query () |
template<typename C , typename T > | |
Query & | addCondition (const T &value, const std::string condition="=") |
template<typename C1 , typename C2 > | |
Query & | addCondition (const std::string condition="=") |
template<typename C > | |
Query & | addOrderClause (bool ascending=true) |
template<typename Col > | |
Query & | addTable () |
const QueryIterator< Types... > | begin () |
const coral::AttributeList & | currentRow () const |
const QueryIterator< Types... > | end () |
Query & | groupBy (const std::string &expression) |
Query & | limitReturnedRows (size_t nrows) |
bool | next () |
Query (const coral::ISchema &schema, bool distinct=false) | |
size_t | retrievedRows () const |
Query & | setForUpdate () |
~Query () | |
Private Attributes | |
std::unique_ptr< coral::IQuery > | m_coralQuery |
coral::ICursor * | m_cursor = nullptr |
size_t | m_retrievedRows = 0 |
std::set< std::string > | m_tables |
std::string | m_whereClause |
coral::AttributeList | m_whereData |
|
inline |
Definition at line 506 of file DbCore.h.
|
inline |
|
inline |
Definition at line 525 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::_Query(), and cond::persistency::Query< Types... >::Query().
|
inline |
Definition at line 528 of file DbCore.h.
|
inline |
Definition at line 535 of file DbCore.h.
Referenced by cond::persistency::RUN_INFO::Table::getInclusiveTimeRange(), and cond::persistency::IOV::Table::getRange().
|
inline |
|
inline |
Definition at line 550 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getRange().
|
inline |
Definition at line 516 of file DbCore.h.
|
inline |
Definition at line 588 of file DbCore.h.
|
inline |
Definition at line 582 of file DbCore.h.
Referenced by cond::persistency::QueryIterator< Types >::operator++().
|
inline |
Definition at line 596 of file DbCore.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 558 of file DbCore.h.
Referenced by SpecificationBuilder_cfi.Specification::saveAll().
|
inline |
Definition at line 568 of file DbCore.h.
|
inline |
Definition at line 573 of file DbCore.h.
Referenced by cond::persistency::QueryIterator< Types >::operator++().
|
inline |
|
inline |
Definition at line 563 of file DbCore.h.
|
private |
Definition at line 601 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::_Query(), cond::persistency::Query< Types... >::addOrderClause(), cond::persistency::Query< Types... >::addTable(), cond::persistency::Query< Types... >::begin(), cond::persistency::Query< Types... >::groupBy(), cond::persistency::Query< Types... >::limitReturnedRows(), cond::persistency::Query< Types... >::Query(), and cond::persistency::Query< Types... >::setForUpdate().
|
private |
Definition at line 602 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::begin(), cond::persistency::Query< Types... >::currentRow(), and cond::persistency::Query< Types... >::next().
|
private |
Definition at line 603 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::begin(), cond::persistency::Query< Types... >::next(), and cond::persistency::Query< Types... >::retrievedRows().
|
private |
Definition at line 606 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::addTable().
|
private |
Definition at line 605 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::addCondition(), and cond::persistency::Query< Types... >::begin().
|
private |
Definition at line 604 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::addCondition(), and cond::persistency::Query< Types... >::begin().