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

Public Member Functions

 Driver (dballe::sql::SQLiteConnection &conn)
 
std::unique_ptr< v6::Repinfocreate_repinfov6 () override
 Precompiled queries to manipulate the repinfo table.
 
std::unique_ptr< v6::Stationcreate_stationv6 () override
 Precompiled queries to manipulate the station table.
 
std::unique_ptr< v6::LevTrcreate_levtrv6 () override
 Precompiled queries to manipulate the levtr table.
 
std::unique_ptr< v6::DataV6create_datav6 () override
 Precompiled queries to manipulate the data table.
 
std::unique_ptr< v6::AttrV6create_attrv6 () override
 Precompiled queries to manipulate the attr table.
 
void run_built_query_v6 (const v6::QueryBuilder &qb, std::function< void(v6::SQLRecordV6 &rec)> dest) override
 
void create_tables_v6 () override
 Create all missing tables for V6 databases.
 
void delete_tables_v6 () override
 Delete all existing tables for V6 databases.
 
void vacuum_v6 () override
 Perform database cleanup/maintenance on v6 databases.
 
- Public Member Functions inherited from dballe::db::v6::Driver
 Driver (sql::Connection &connection)
 
virtual void run_built_query_v6 (const v6::QueryBuilder &qb, std::function< void(SQLRecordV6 &rec)> dest)=0
 Run a query on the given statement, returning results as SQLRecordV6 objects. More...
 
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_v6 ()
 Empty all tables for V6 databases, assuming that they exist, without touching the repinfo table.
 

Public Attributes

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

Additional Inherited Members

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

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