#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 > | |
void | addCondition (const T &value, const std::string condition="=") |
template<typename C1 , typename C2 > | |
void | addCondition (const std::string condition="=") |
template<typename C > | |
void | addOrderClause (bool ascending=true) |
template<typename Col > | |
void | addTable () |
const QueryIterator< Types...> | begin () |
const coral::AttributeList & | currentRow () const |
const QueryIterator< Types...> | end () |
void | groupBy (const std::string &expression) |
bool | next () |
Query (const coral::ISchema &schema, bool distinct=false) | |
size_t | retrievedRows () const |
void | setForUpdate () |
~Query () | |
Private Attributes | |
std::unique_ptr< coral::IQuery > | m_coralQuery |
coral::ICursor * | m_cursor = 0 |
size_t | m_retrievedRows = 0 |
std::set< std::string > | m_tables |
std::string | m_whereClause |
coral::AttributeList | m_whereData |
|
inline |
Definition at line 399 of file DbCore.h.
|
inline |
|
inline |
Definition at line 419 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::_Query(), and cond::persistency::Query< Types...>::Query().
|
inline |
Definition at line 422 of file DbCore.h.
|
inline |
Definition at line 428 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getLastIov(), cond::persistency::TAG::Table::getMetadata(), cond::persistency::IOV::Table::getSize(), cond::persistency::IOV::Table::getSnapshotLastIov(), cond::persistency::IOV::Table::getSnapshotSize(), cond::persistency::PAYLOAD::Table::getType(), cond::persistency::GLOBAL_TAG::Table::select(), cond::persistency::TAG::Table::select(), cond::persistency::GLOBAL_TAG_MAP::Table::select(), cond::persistency::PAYLOAD::Table::select(), cond::persistency::IOV::Table::selectGroups(), cond::persistency::IOV::Table::selectLatest(), cond::persistency::IOV::Table::selectLatestByGroup(), cond::persistency::IOV::Table::selectSnapshot(), cond::persistency::IOV::Table::selectSnapshotByGroup(), and cond::persistency::IOV::Table::selectSnapshotGroups().
|
inline |
|
inline |
Definition at line 439 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getLastIov(), cond::persistency::IOV::Table::getSnapshotLastIov(), cond::persistency::GLOBAL_TAG_MAP::Table::select(), cond::persistency::IOV::Table::selectGroups(), cond::persistency::IOV::Table::selectLatest(), cond::persistency::IOV::Table::selectLatestByGroup(), cond::persistency::IOV::Table::selectSnapshot(), cond::persistency::IOV::Table::selectSnapshotByGroup(), and cond::persistency::IOV::Table::selectSnapshotGroups().
|
inline |
Definition at line 411 of file DbCore.h.
|
inline |
Definition at line 465 of file DbCore.h.
|
inline |
Definition at line 460 of file DbCore.h.
Referenced by Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::itemClicked(), Vispa.Views.TableView.TableView::itemSelectionChanged(), and cond::persistency::QueryIterator< Types >::operator++().
|
inline |
Definition at line 473 of file DbCore.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 445 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::selectGroups(), and cond::persistency::IOV::Table::selectSnapshotGroups().
|
inline |
Definition at line 453 of file DbCore.h.
Referenced by BeautifulSoup.PageElement::_invert(), and cond::persistency::QueryIterator< Types >::operator++().
|
inline |
|
inline |
Definition at line 449 of file DbCore.h.
|
private |
Definition at line 482 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...>::Query(), and cond::persistency::Query< Types...>::setForUpdate().
|
private |
Definition at line 483 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 484 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 487 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addTable().
|
private |
Definition at line 486 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addCondition(), and cond::persistency::Query< Types...>::begin().
|
private |
Definition at line 485 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addCondition(), and cond::persistency::Query< Types...>::begin().