libdballe  9.11
Public Member Functions | Public Attributes | List of all members
dballe::db::v7::sqlite::Driver Struct Reference
Inheritance diagram for dballe::db::v7::sqlite::Driver:
dballe::db::v7::Driver

Public Member Functions

 Driver (dballe::sql::SQLiteConnection &conn)
 
std::unique_ptr< v7::Repinfocreate_repinfo (v7::Transaction &tr) override
 Precompiled queries to manipulate the repinfo table.
 
std::unique_ptr< v7::Stationcreate_station (v7::Transaction &tr) override
 Precompiled queries to manipulate the station table.
 
std::unique_ptr< v7::LevTrcreate_levtr (v7::Transaction &tr) override
 Precompiled queries to manipulate the levtr table.
 
std::unique_ptr< v7::StationDatacreate_station_data (v7::Transaction &tr) override
 Precompiled queries to manipulate the data table.
 
std::unique_ptr< v7::Datacreate_data (v7::Transaction &tr) override
 Precompiled queries to manipulate the data table.
 
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.
 
- Public Member Functions inherited from dballe::db::v7::Driver
 Driver (sql::Connection &connection)
 
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.
 

Public Attributes

dballe::sql::SQLiteConnectionconn
 
- Public Attributes inherited from dballe::db::v7::Driver
sql::Connectionconnection
 

Additional Inherited Members

- Static Public Member Functions inherited from dballe::db::v7::Driver
static std::unique_ptr< Drivercreate (dballe::sql::Connection &conn)
 Create a Driver for this connection.
 

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