#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 () |
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::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::TAG_MIGRATION::Table::select(), cond::persistency::PAYLOAD_MIGRATION::Table::select(), cond::persistency::IOV::Table::selectGroups(), cond::persistency::IOV::Table::selectLatest(), cond::persistency::IOV::Table::selectLatestByGroup(), 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::GLOBAL_TAG_MAP::Table::select(), cond::persistency::IOV::Table::selectGroups(), cond::persistency::IOV::Table::selectLatest(), cond::persistency::IOV::Table::selectLatestByGroup(), cond::persistency::IOV::Table::selectSnapshotByGroup(), and cond::persistency::IOV::Table::selectSnapshotGroups().
|
inline |
Definition at line 411 of file DbCore.h.
|
inline |
Definition at line 461 of file DbCore.h.
|
inline |
Definition at line 456 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 469 of file DbCore.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 449 of file DbCore.h.
Referenced by BeautifulSoup.PageElement::_invert(), and cond::persistency::QueryIterator< Types >::operator++().
|
inline |
|
inline |
Definition at line 445 of file DbCore.h.
|
private |
Definition at line 478 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...>::Query(), and cond::persistency::Query< Types...>::setForUpdate().
|
private |
Definition at line 479 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 480 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 483 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addTable().
|
private |
Definition at line 482 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addCondition(), and cond::persistency::Query< Types...>::begin().
|
private |
Definition at line 481 of file DbCore.h.
Referenced by cond::persistency::Query< Types...>::addCondition(), and cond::persistency::Query< Types...>::begin().