|
| PostgreSQLData (v7::Transaction &tr, dballe::sql::PostgreSQLConnection &conn) |
|
void | query (Tracer<> &trc, int id_station, const Datetime &datetime, std::function< void(int id, int id_levtr, wreport::Varcode code)> dest) override |
| Query contents of the data table.
|
|
void | insert (Tracer<> &trc, int id_station, const Datetime &datetime, std::vector< batch::MeasuredDatum > &vars, bool with_attrs) override |
| Bulk variable insert.
|
|
void | run_data_query (Tracer<> &trc, const v7::DataQueryBuilder &qb, std::function< void(const dballe::DBStation &station, int id_levtr, const Datetime &datetime, int id_data, std::unique_ptr< wreport::Var > var)>) override |
| Run a data query, iterating on the resulting variables.
|
|
void | run_summary_query (Tracer<> &trc, const v7::SummaryQueryBuilder &qb, std::function< void(const dballe::DBStation &station, int id_levtr, wreport::Varcode code, const DatetimeRange &datetime, size_t size)>) override |
| Run a summary query, iterating on the resulting variables.
|
|
void | dump (FILE *out) override |
| Dump the entire contents of the table to an output stream.
|
|
void | clear_cache () override |
|
| PostgreSQLDataCommon (v7::Transaction &tr, dballe::sql::PostgreSQLConnection &conn) |
|
| PostgreSQLDataCommon (const PostgreSQLDataCommon &)=delete |
|
| PostgreSQLDataCommon (const PostgreSQLDataCommon &&)=delete |
|
| PostgreSQLDataCommon (v7::Transaction &tr, dballe::sql::PostgreSQLConnection &conn) |
|
| PostgreSQLDataCommon (const PostgreSQLDataCommon &)=delete |
|
| PostgreSQLDataCommon (const PostgreSQLDataCommon &&)=delete |
|
PostgreSQLDataCommon & | operator= (const PostgreSQLDataCommon &)=delete |
|
void | update (Tracer<> &trc, std::vector< typename Data ::BatchValue > &vars, bool with_attrs) override |
|
void | read_attrs (Tracer<> &trc, int id_data, std::function< void(std::unique_ptr< wreport::Var >)> dest) override |
|
void | write_attrs (Tracer<> &trc, int id_data, const Values &values) override |
|
void | remove_all_attrs (Tracer<> &trc, int id_data) override |
|
void | remove (Tracer<> &trc, const v7::IdQueryBuilder &qb) override |
|
void | remove_by_id (Tracer<> &trc, int id) override |
|
| DataCommon (v7::Transaction &tr) |
|
void | merge_attrs (Tracer<> &trc, int id_data, const Values &attrs) |
| Merge the given attributes with the existing attributes of the given variable: More...
|
|
void | remove_attrs (Tracer<> &trc, int data_id, const db::AttrList &attrs) |
| Remove the given attributes from the given variable, if they exist.
|
|
virtual void | update (Tracer<> &trc, std::vector< typename DataTraits ::BatchValue > &vars, bool with_attrs)=0 |
| Bulk variable update.
|
|