#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 499 of file DbCore.h.
|
inline |
|
inline |
Definition at line 518 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::_Query(), and cond::persistency::Query< Types...>::Query().
|
inline |
Definition at line 521 of file DbCore.h.
|
inline |
Definition at line 528 of file DbCore.h.
Referenced by cond::persistency::TAG_AUTHORIZATION::Table::getAccessPermission(), cond::persistency::IOV::Table::getGroups(), cond::persistency::RUN_INFO::Table::getInclusiveRunRange(), cond::persistency::RUN_INFO::Table::getInclusiveTimeRange(), cond::persistency::IOV::Table::getLastIov(), cond::persistency::TAG::Table::getMetadata(), cond::persistency::IOV::Table::getRange(), cond::persistency::IOV::Table::getSize(), cond::persistency::PAYLOAD::Table::getType(), cond::persistency::GLOBAL_TAG::Table::select(), cond::persistency::TAG::Table::select(), cond::persistency::RUN_INFO::Table::select(), cond::persistency::GLOBAL_TAG_MAP::Table::select(), cond::persistency::PAYLOAD::Table::select(), cond::persistency::IOV::Table::select(), cond::persistency::TAG::Table::setProtectionCode(), and cond::persistency::TAG::Table::unsetProtectionCode().
|
inline |
|
inline |
Definition at line 543 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getGroups(), cond::persistency::IOV::Table::getLastIov(), cond::persistency::IOV::Table::getRange(), cond::persistency::GLOBAL_TAG_MAP::Table::select(), and cond::persistency::IOV::Table::select().
|
inline |
Definition at line 509 of file DbCore.h.
|
inline |
Definition at line 581 of file DbCore.h.
|
inline |
Definition at line 575 of file DbCore.h.
Referenced by cond::persistency::QueryIterator< Types >::operator++().
|
inline |
Definition at line 589 of file DbCore.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 551 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getGroups(), and SpecificationBuilder_cfi.Specification::saveAll().
|
inline |
Definition at line 561 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getLastIov().
|
inline |
Definition at line 566 of file DbCore.h.
Referenced by BeautifulSoup.PageElement::_invert(), and cond::persistency::QueryIterator< Types >::operator++().
|
inline |
Definition at line 591 of file DbCore.h.
Referenced by cond::persistency::RUN_INFO::Table::getInclusiveTimeRange().
|
inline |
Definition at line 556 of file DbCore.h.
|
private |
Definition at line 594 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 595 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 596 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 599 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addTable().
|
private |
Definition at line 598 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addCondition(), and cond::persistency::Query< Types...>::begin().
|
private |
Definition at line 597 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addCondition(), and cond::persistency::Query< Types...>::begin().