|
| Driver (dballe::sql::SQLiteConnection &conn) |
|
std::unique_ptr< v7::Repinfo > | create_repinfo () override |
| Precompiled queries to manipulate the repinfo table.
|
|
std::unique_ptr< v7::Station > | create_station () override |
| Precompiled queries to manipulate the station table.
|
|
std::unique_ptr< v7::LevTr > | create_levtr () override |
| Precompiled queries to manipulate the levtr table.
|
|
std::unique_ptr< v7::StationData > | create_station_data () override |
| Precompiled queries to manipulate the data table.
|
|
std::unique_ptr< v7::Data > | create_data () override |
| Precompiled queries to manipulate the data table.
|
|
void | run_station_query (const v7::StationQueryBuilder &qb, std::function< void(int id, const StationDesc &)>) override |
|
void | run_station_data_query (const v7::DataQueryBuilder &qb, std::function< void(int id_station, const StationDesc &station, int id_data, std::unique_ptr< wreport::Var > var)>) override |
| Run a station data query, iterating on the resulting variables.
|
|
void | run_data_query (const v7::DataQueryBuilder &qb, std::function< void(int id_station, const StationDesc &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 (const v7::SummaryQueryBuilder &qb, std::function< void(int id_station, const StationDesc &station, int id_levtr, wreport::Varcode code, const DatetimeRange &datetime, size_t size)>) override |
| Run a summary query, iterating on the resulting variables.
|
|
void | create_tables_v7 () override |
| Create all missing tables for V7 databases.
|
|
void | delete_tables_v7 () override |
| Delete all existing tables for V7 databases.
|
|
void | vacuum_v7 () override |
| Perform database cleanup/maintenance on v7 databases.
|
|
| Driver (sql::Connection &connection) |
|
virtual void | run_station_query (const v7::StationQueryBuilder &qb, std::function< void(int id_station, const StationDesc &station)>)=0 |
| Run a station query, iterating on the resulting stations.
|
|
void | create_tables (db::Format format) |
| Create all missing tables for a DB with the given format.
|
|
void | delete_tables (db::Format format) |
| Delete all existing tables for a DB with the given format.
|
|
void | remove_all (db::Format format) |
| Empty all tables for a DB with the given format.
|
|
virtual void | remove_all_v7 () |
| Empty all tables for V7 databases, assuming that they exist, without touching the repinfo table.
|
|