libdballe 9.6
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)
 
virtual std::unique_ptr< v7::Repinfocreate_repinfo (v7::Transaction &tr)=0
 Precompiled queries to manipulate the repinfo table.
 
virtual std::unique_ptr< v7::Stationcreate_station (v7::Transaction &tr)=0
 Precompiled queries to manipulate the station table.
 
virtual std::unique_ptr< v7::LevTrcreate_levtr (v7::Transaction &tr)=0
 Precompiled queries to manipulate the levtr table.
 
virtual std::unique_ptr< v7::StationDatacreate_station_data (v7::Transaction &tr)=0
 Precompiled queries to manipulate the data table.
 
virtual std::unique_ptr< v7::Datacreate_data (v7::Transaction &tr)=0
 Precompiled queries to manipulate the data table.
 
void create_tables (db::Format format)
 Create all missing tables for a DB with the given format.
 
virtual void create_tables_v7 ()=0
 Create all missing tables for V7 databases.
 
void delete_tables (db::Format format)
 Delete all existing tables for a DB with the given format.
 
virtual void delete_tables_v7 ()=0
 Delete all existing tables for V7 databases.
 
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.
 
virtual void vacuum_v7 ()=0
 Perform database cleanup/maintenance on v7 databases.
 

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.
 

Constructor & Destructor Documentation

◆ ~Driver()

virtual dballe::db::v7::sqlite::Driver::~Driver ( )
virtual

Reimplemented from dballe::db::v7::Driver.

Member Function Documentation

◆ create_data()

std::unique_ptr< v7::Data > dballe::db::v7::sqlite::Driver::create_data ( v7::Transaction tr)
overridevirtual

Precompiled queries to manipulate the data table.

Implements dballe::db::v7::Driver.

◆ create_levtr()

std::unique_ptr< v7::LevTr > dballe::db::v7::sqlite::Driver::create_levtr ( v7::Transaction tr)
overridevirtual

Precompiled queries to manipulate the levtr table.

Implements dballe::db::v7::Driver.

◆ create_repinfo()

std::unique_ptr< v7::Repinfo > dballe::db::v7::sqlite::Driver::create_repinfo ( v7::Transaction tr)
overridevirtual

Precompiled queries to manipulate the repinfo table.

Implements dballe::db::v7::Driver.

◆ create_station()

std::unique_ptr< v7::Station > dballe::db::v7::sqlite::Driver::create_station ( v7::Transaction tr)
overridevirtual

Precompiled queries to manipulate the station table.

Implements dballe::db::v7::Driver.

◆ create_station_data()

std::unique_ptr< v7::StationData > dballe::db::v7::sqlite::Driver::create_station_data ( v7::Transaction tr)
overridevirtual

Precompiled queries to manipulate the data table.

Implements dballe::db::v7::Driver.

◆ create_tables_v7()

void dballe::db::v7::sqlite::Driver::create_tables_v7 ( )
overridevirtual

Create all missing tables for V7 databases.

Implements dballe::db::v7::Driver.

◆ delete_tables_v7()

void dballe::db::v7::sqlite::Driver::delete_tables_v7 ( )
overridevirtual

Delete all existing tables for V7 databases.

Implements dballe::db::v7::Driver.

◆ vacuum_v7()

void dballe::db::v7::sqlite::Driver::vacuum_v7 ( )
overridevirtual

Perform database cleanup/maintenance on v7 databases.

Implements dballe::db::v7::Driver.


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