|
template<typename IntType > |
uint_t | storeRunImpl (sqlite3 *dbHandle, std::string &filename, const map< string, IntType > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties) |
| Store information about a simulation run into a Sqlite3 Database. More...
|
|
template<typename IntType > |
void | storeAdditionalRunInfoImpl (sqlite3 *dbHandle, uint_t runId, const std::string &tableName, const map< string, IntType > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties) |
| Stores information in another table, referencing the "run" table. More...
|
|
uint_t | storeRunInSqliteDB (const string &dbFile, const map< string, int > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout) |
|
uint_t | storeRunInSqliteDB (const string &dbFile, const map< string, int64_t > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout) |
|
void | storeAdditionalRunInfoInSqliteDB (const uint_t runId, const string &dbFile, const string &tableName, const map< string, int > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout) |
|
void | storeAdditionalRunInfoInSqliteDB (const uint_t runId, const string &dbFile, const string &tableName, const map< string, int64_t > &integerProperties, const map< string, string > &stringProperties, const map< string, double > &realProperties, const int busyTimeout) |
|
void | storeTimingPoolInSqliteDB (const string &dbFile, uint_t runId, const WcTimingPool &tp, const std::string &timingPoolName, const int busyTimeout) |
|
void | storeTimingTreeInSqliteDB (const string &dbFile, uint_t runId, const WcTimingTree &tt, const std::string &timingTreeName, const int busyTimeout) |
|
template<typename IntType >
uint_t walberla::sqlite::storeRunImpl |
( |
sqlite3 * |
dbHandle, |
|
|
std::string & |
filename, |
|
|
const map< string, IntType > & |
integerProperties, |
|
|
const map< string, string > & |
stringProperties, |
|
|
const map< string, double > & |
realProperties |
|
) |
| |
Store information about a simulation run into a Sqlite3 Database.
The generated database is called "runs". The columns of the table are the keys of the given maps. If a column does not yet exist, it is appended to the database. The entries that have no value in this column are set to default value ( zero or empty string ). Additionally a column is created for each activated global state, and its value is set to 1
- Parameters
-
dbHandle | Database cursor |
filename | Database path |
integerProperties,stringProperties,realProperties | Map of column names to value |
- Returns
- The primary key of the inserted data set.