#include <DbCore.h>
Public Member Functions | |
template<int n> | |
void | _Query () |
template<int n, typename Arg1 , typename... Args> | |
void | _Query () |
template<typename C1 , typename C2 > | |
Query & | addCondition (const std::string condition="=") |
template<typename C , typename T > | |
Query & | addCondition (const T &value, 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 |
|
inline |
|
inline |
Definition at line 517 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::_Query(), and cond::persistency::Query< Types... >::Query().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 574 of file DbCore.h.
Referenced by cond::persistency::QueryIterator< Types >::operator++().
|
inline |
Definition at line 588 of file DbCore.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 550 of file DbCore.h.
Referenced by SpecificationBuilder_cfi.Specification::saveAll().
|
inline |
|
inline |
Definition at line 565 of file DbCore.h.
Referenced by cond::persistency::QueryIterator< Types >::operator++().
|
inline |
|
inline |
|
private |
Definition at line 593 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 594 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 595 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 598 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::addTable().
|
private |
Definition at line 597 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::addCondition(), and cond::persistency::Query< Types... >::begin().
|
private |
Definition at line 596 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::addCondition(), and cond::persistency::Query< Types... >::begin().