libdballe 9.6
Public Member Functions | List of all members
dballe::db::v7::IdQueryBuilder Struct Reference
Inheritance diagram for dballe::db::v7::IdQueryBuilder:
dballe::db::v7::DataQueryBuilder dballe::db::v7::QueryBuilder

Public Member Functions

 IdQueryBuilder (std::shared_ptr< v7::Transaction > tr, const core::Query &query, unsigned int modifiers, bool query_station_vars)
 
virtual void build_select ()
 
virtual void build_order_by ()
 
- Public Member Functions inherited from dballe::db::v7::DataQueryBuilder
 DataQueryBuilder (std::shared_ptr< v7::Transaction > tr, const core::Query &query, unsigned int modifiers, bool query_station_vars)
 
bool match_attrs (const wreport::Var &var) const
 Match the attributes of var against attr_filter.
 
virtual void build_select ()
 
virtual bool build_where ()
 
virtual void build_order_by ()
 
- Public Member Functions inherited from dballe::db::v7::QueryBuilder
 QueryBuilder (std::shared_ptr< v7::Transaction > tr, const core::Query &query, unsigned int modifiers, bool query_station_vars)
 
void build ()
 

Additional Inherited Members

- Public Attributes inherited from dballe::db::v7::DataQueryBuilder
Varmatchattr_filter = nullptr
 Attribute filter, if requested.
 
bool query_attrs
 True if we also query attributes of data.
 
bool select_attrs = false
 True if the select includes the attrs field.
 
- Public Attributes inherited from dballe::db::v7::QueryBuilder
dballe::sql::Connectionconn
 
std::shared_ptr< v7::Transactiontr
 Database to operate on.
 
const char * bind_in_ident = nullptr
 If defined, it need to point to the identifier to be used as the only bound input parameter.
 
bool select_station = false
 
bool select_varinfo = false
 
bool select_data_id = false
 
bool select_data = false
 
bool select_summary_details = false
 
const core::Queryquery
 Query object.
 
dballe::sql::Querybuf sql_query
 Dynamically generated SQL query.
 
dballe::sql::Querybuf sql_from
 FROM part of the SQL query.
 
dballe::sql::Querybuf sql_where
 WHERE part of the SQL query.
 
const unsigned int modifiers
 Modifier flags to enable special query behaviours.
 
bool query_station_vars
 True if we are querying station information, rather than measured data.
 
- Protected Member Functions inherited from dballe::db::v7::QueryBuilder
bool add_pa_where (const char *tbl)
 
bool add_dt_where (const char *tbl)
 
bool add_ltr_where (const char *tbl)
 
bool add_varcode_where (const char *tbl)
 
bool add_repinfo_where (const char *tbl)
 
bool add_datafilter_where (const char *tbl)
 
virtual void build_select ()=0
 
virtual bool build_where ()=0
 
virtual void build_order_by ()=0
 

Member Function Documentation

◆ build_order_by()

virtual void dballe::db::v7::IdQueryBuilder::build_order_by ( )
virtual

Reimplemented from dballe::db::v7::DataQueryBuilder.

◆ build_select()

virtual void dballe::db::v7::IdQueryBuilder::build_select ( )
virtual

Reimplemented from dballe::db::v7::DataQueryBuilder.


The documentation for this struct was generated from the following file: