|
void | commit () override |
| Commit this transaction.
|
|
| Transaction (std::shared_ptr< v7::DB > db, std::unique_ptr< dballe::sql::Transaction > sql_transaction) |
|
| Transaction (const Transaction &)=delete |
|
| Transaction (Transaction &&)=delete |
|
| Transaction (std::shared_ptr< v7::DB > db, std::unique_ptr< dballe::sql::Transaction > sql_transaction) |
|
| Transaction (const Transaction &)=delete |
|
| Transaction (Transaction &&)=delete |
|
Transaction & | operator= (const Transaction &)=delete |
|
Transaction & | operator= (Transaction &&)=delete |
|
v7::Repinfo & | repinfo () |
| Access the repinfo table.
|
|
v7::Station & | station () |
| Access the station table.
|
|
v7::LevTr & | levtr () |
| Access the levtr table.
|
|
v7::StationData & | station_data () |
| Access the station_data table.
|
|
v7::Data & | data () |
| Access the data table.
|
|
void | rollback () override |
| Roll back this transaction.
|
|
void | rollback_nothrow () noexcept override |
| Roll back this transaction.
|
|
void | clear_cached_state () override |
| Clear state information cached during the transaction. More...
|
|
std::shared_ptr< dballe::CursorStation > | query_stations (const Query &query) override |
| Start a query on the station variables archive. More...
|
|
std::shared_ptr< dballe::CursorStationData > | query_station_data (const Query &query) override |
| Query the station variables in the database. More...
|
|
std::shared_ptr< dballe::CursorData > | query_data (const Query &query) override |
| Query the database. More...
|
|
std::shared_ptr< dballe::CursorSummary > | query_summary (const Query &query) override |
| Query a summary of what the result would be for a query. More...
|
|
std::shared_ptr< dballe::CursorMessage > | query_messages (const Query &query) override |
| Query the database returning the matching data as Message objects. More...
|
|
void | attr_query_station (int data_id, std::function< void(std::unique_ptr< wreport::Var >)> dest) override |
| Query attributes on a station value. More...
|
|
void | attr_query_data (int data_id, std::function< void(std::unique_ptr< wreport::Var >)> dest) override |
| Query attributes on a data value. More...
|
|
void | insert_station_data (dballe::Data &vals, const dballe::DBInsertOptions &opts=dballe::DBInsertOptions::defaults) override |
| Insert station values into the database. More...
|
|
void | insert_data (dballe::Data &vals, const dballe::DBInsertOptions &opts=dballe::DBInsertOptions::defaults) override |
| Insert data values into the database. More...
|
|
void | remove_station_data (const Query &query) override |
| Remove data from the database. More...
|
|
void | remove_data (const Query &query) override |
| Remove data from the database. More...
|
|
void | remove_station_data_by_id (int id) |
|
void | remove_data_by_id (int id) |
|
void | remove_all () override |
| Remove all data from the database. More...
|
|
void | attr_insert_station (int data_id, const Values &attrs) override |
| Insert new attributes on a station value. More...
|
|
void | attr_insert_data (int data_id, const Values &attrs) override |
| Insert new attributes on a data value. More...
|
|
void | attr_remove_station (int data_id, const db::AttrList &attrs) override |
| Delete attributes from a station value. More...
|
|
void | attr_remove_data (int data_id, const db::AttrList &attrs) override |
| Delete attributes from a data value. More...
|
|
void | import_message (const Message &message, const dballe::DBImportOptions &opts) override |
| Import a Message into the DB-All.e database. More...
|
|
void | import_messages (const std::vector< std::shared_ptr< Message >> &msgs, const dballe::DBImportOptions &opts) override |
| Import Messages into the DB-All.e database. More...
|
|
void | update_repinfo (const char *repinfo_file, int *added, int *deleted, int *updated) override |
| Update the repinfo table in the database, with the data found in the given file. More...
|
|
void | dump (FILE *out) override |
| Dump the entire contents of the database to an output stream.
|
|