Namespaces | |
| detail | |
| errors | |
| ExceptionDetail | |
Classes | |
| struct | column |
| struct | column< double, Constraints... > |
| struct | column< float, Constraints... > |
| struct | column< int, Constraints... > |
| struct | column< long long, Constraints... > |
| struct | column< long, Constraints... > |
| struct | column< std::string, Constraints... > |
| struct | column< unsigned int, Constraints... > |
| struct | column< unsigned long long, Constraints... > |
| struct | column< unsigned long, Constraints... > |
| class | column_base |
| class | Connection |
| class | ConnectionFactory |
| struct | IncompleteInsert |
| struct | IncompleteSelectStmt |
| class | Ntuple |
| struct | permissive_column |
| struct | permissive_column< column< T, Constraints... > > |
| struct | primary_key |
| struct | query_result |
| struct | SelectStmt |
| class | Transaction |
Typedefs | |
| template<size_t N> | |
| using | name_array = std::array< std::string, N > |
| using | Exception = cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > |
Functions | |
| template<typename... Cols> | |
| void | create_table (sqlite3 *const db, std::string const &tablename, Cols const &...cols) |
| void | create_table_as (std::string const &tablename, SelectStmt const &stmt) |
| void | exec (sqlite3 *db, std::string const &ddl) |
| std::string | assembleNoLockURI (std::string const &filename) |
| bool | hasTableWithSchema (sqlite3 *db, std::string const &tablename, std::string expectedSchema) |
| unsigned | nrows (sqlite3 *db, std::string const &tablename) |
| void | delete_from (sqlite3 *db, std::string const &tablename) |
| void | drop_table (sqlite3 *db, std::string const &tablename) |
| void | drop_table_if_exists (sqlite3 *db, std::string const &tablename) |
| template<typename... Args> | |
| void | createTableIfNeeded (sqlite3 *db, bool const delete_contents, std::string const &tablename, permissive_column< Args > const &...cols) |
| auto | insert_into (sqlite3 *const db, std::string const &tablename) |
| template<typename T > | |
| T | unique_value (query_result< T > const &r) |
| template<typename... Args> | |
| std::ostream & | operator<< (std::ostream &os, query_result< Args... > const &res) |
| template<typename... Args> | |
| query_result< Args... > | query (sqlite3 *db, std::string const &ddl) |
| template<typename... T> | |
| auto | select (T const &...t) |
| template<typename... T> | |
| auto | select_distinct (T const &...t) |
| template<typename... Args> | |
| void | operator<< (query_result< Args... > &r, SelectStmt const &cq) |
| template<typename T = double> | |
| T | min (sqlite3 *const db, std::string const &table_name, std::string const &column_name) |
| template<typename T = double> | |
| T | max (sqlite3 *const db, std::string const &table_name, std::string const &column_name) |
| double | mean (sqlite3 *db, std::string const &table_name, std::string const &column_name) |
| double | median (sqlite3 *db, std::string const &table_name, std::string const &column_name) |
| double | rms (sqlite3 *db, std::string const &table_name, std::string const &column_name) |
| using cet::sqlite::Exception = typedef cet::coded_exception<errors::ErrorCodes, ExceptionDetail::translate> |
Definition at line 27 of file Exception.h.
| using cet::sqlite::name_array = typedef std::array<std::string, N> |
| std::string cet::sqlite::assembleNoLockURI | ( | std::string const & | filename | ) |
Definition at line 8 of file helpers.cc.
| void cet::sqlite::create_table | ( | sqlite3 *const | db, |
| std::string const & | tablename, | ||
| Cols const &... | cols | ||
| ) |
Definition at line 118 of file create_table.h.
|
inline |
Definition at line 127 of file create_table.h.
| void cet::sqlite::createTableIfNeeded | ( | sqlite3 * | db, |
| bool const | delete_contents, | ||
| std::string const & | tablename, | ||
| permissive_column< Args > const &... | cols | ||
| ) |
Definition at line 46 of file helpers.h.
| void cet::sqlite::delete_from | ( | sqlite3 * | db, |
| std::string const & | tablename | ||
| ) |
Definition at line 63 of file helpers.cc.
| void cet::sqlite::drop_table | ( | sqlite3 * | db, |
| std::string const & | tablename | ||
| ) |
Definition at line 69 of file helpers.cc.
| void cet::sqlite::drop_table_if_exists | ( | sqlite3 * | db, |
| std::string const & | tablename | ||
| ) |
Definition at line 75 of file helpers.cc.
| void cet::sqlite::exec | ( | sqlite3 * | db, |
| std::string const & | ddl | ||
| ) |
Definition at line 5 of file exec.cc.
| bool cet::sqlite::hasTableWithSchema | ( | sqlite3 * | db, |
| std::string const & | tablename, | ||
| std::string | expectedSchema | ||
| ) |
Definition at line 29 of file helpers.cc.
|
inline |
| T cet::sqlite::max | ( | sqlite3 *const | db, |
| std::string const & | table_name, | ||
| std::string const & | column_name | ||
| ) |
Definition at line 66 of file statistics.h.
| double cet::sqlite::mean | ( | sqlite3 * | db, |
| std::string const & | table_name, | ||
| std::string const & | column_name | ||
| ) |
Definition at line 16 of file statistics.cc.
| double cet::sqlite::median | ( | sqlite3 * | db, |
| std::string const & | table_name, | ||
| std::string const & | column_name | ||
| ) |
Definition at line 26 of file statistics.cc.
| T cet::sqlite::min | ( | sqlite3 *const | db, |
| std::string const & | table_name, | ||
| std::string const & | column_name | ||
| ) |
Definition at line 55 of file statistics.h.
| unsigned cet::sqlite::nrows | ( | sqlite3 * | db, |
| std::string const & | tablename | ||
| ) |
Definition at line 82 of file helpers.cc.
| std::ostream& cet::sqlite::operator<< | ( | std::ostream & | os, |
| query_result< Args... > const & | res | ||
| ) |
Definition at line 105 of file query_result.h.
| void cet::sqlite::operator<< | ( | query_result< Args... > & | r, |
| SelectStmt const & | cq | ||
| ) |
Definition at line 162 of file select.h.
| query_result<Args...> cet::sqlite::query | ( | sqlite3 * | db, |
| std::string const & | ddl | ||
| ) |
Definition at line 75 of file select.h.
| double cet::sqlite::rms | ( | sqlite3 * | db, |
| std::string const & | table_name, | ||
| std::string const & | column_name | ||
| ) |
Definition at line 40 of file statistics.cc.
| auto cet::sqlite::select | ( | T const &... | t | ) |
Definition at line 146 of file select.h.
| auto cet::sqlite::select_distinct | ( | T const &... | t | ) |
Definition at line 154 of file select.h.
|
inline |
Definition at line 94 of file query_result.h.
1.8.11