#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) |
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 = 0 |
size_t | m_retrievedRows = 0 |
std::set< std::string > | m_tables |
std::string | m_whereClause |
coral::AttributeList | m_whereData |
|
inline |
Definition at line 460 of file DbCore.h.
|
inline |
|
inline |
|
inline |
Definition at line 482 of file DbCore.h.
|
inline |
Definition at line 489 of file DbCore.h.
Referenced by 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(), and cond::persistency::IOV::Table::select().
|
inline |
|
inline |
Definition at line 504 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 470 of file DbCore.h.
|
inline |
Definition at line 537 of file DbCore.h.
|
inline |
Definition at line 531 of file DbCore.h.
Referenced by Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::itemClicked(), and Vispa.Views.TableView.TableView::itemSelectionChanged().
|
inline |
Definition at line 545 of file DbCore.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 512 of file DbCore.h.
Referenced by cond::persistency::IOV::Table::getGroups(), cond::persistency::Query< Types... >::groupBy(), and SpecificationBuilder_cfi.Specification::saveAll().
|
inline |
Definition at line 522 of file DbCore.h.
|
inline |
|
inline |
Definition at line 517 of file DbCore.h.
Referenced by cond::persistency::Query< Types... >::setForUpdate().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |