sqlitereader.cpp
Go to the documentation of this file.
137 err<<"Encountered SQLite error while preparing to read data from previous run: "<<sqlite3_errmsg(get_db()); 151 err<<"Immediately reached end of input after beginning to loop through table "<<get_table_name()<<" in file "<<get_database_file()<<"! Perhaps the table is empty?"; 163 err<<"Attempted to retrieve data for column with name '"<<col_name<<"' using SQLiteReader, however this column does not seem to exist in the table we are reading!"; 179 err<<"Encountered SQLite error while preparing to measure length of input table: "<<sqlite3_errmsg(get_db()); 186 err<<"Encountered SQLite error while attempting to measure length of input table: "<<sqlite3_errmsg(get_db()); 194 err<<"Row count for input table was measured to be negative ("<<rowcount<<")! This clearly makes no sense and is probably a bug in the SQLiteReader class, please report it."; 206 err<<"Attempted to move SQLiteReader to next row of input table, but eoi() has been reached! This should have been checked by whatever code called this function!"; 212 err<<"Attempted to move SQLiteReader to next row of input table, but no sql statement has been prepared for iteration!"; 301 err<<"Column with name '"<<label<<"' is registered as having type 'NULL'! This doesn't make sense, only individual table slots with missing data should have type NULL, it should not be the 'affinity' for a whole column. This indicates a bug in the SQLiteReader object, please report it"; 319 err << "Did not recognise retrieved SQL type for data label '"<<label<<"' (its SQL type is registered as '"<<coltype<<"')! This may indicate a bug in the SQLiteReader class, please report it."; 325 err << "Did not recognise retrieved Printer type for data label '"<<label<<"' (its SQL type is registered as '"<<coltype<<"')! This may indicate a bug in the Printer system, please report it."; void set_table_name(const std::string &table_name) Definition: sqlitebase.cpp:324 SQLite printer retriever class definitions This is a class accompanying the SQLitePrinter which takes... std::map< std::string, std::size_t, Utils::ci_less > column_map Definition: sqlitereader.hpp:77 void check_table_exists() Definition: sqlitebase.cpp:338 std::string get_database_file() Definition: sqlitebase.cpp:322 virtual std::set< std::string > get_all_labels() Get labels of all datasets in the linked group. Definition: sqlitereader.cpp:332 Definition: log_tags.hpp:38 General small utility functions. ulong current_dataset_index Definition: sqlitereader.hpp:73 std::string get_table_name() Definition: sqlitebase.cpp:323 virtual ulong get_current_index() Definition: sqlitereader.cpp:262 virtual bool eoi() Check if 'current point' is past the end of the datasets (and thus invalid!) Definition: sqlitereader.cpp:268 #define GET_SQL_TYPE_CASES(r, data, elem) virtual std::size_t get_type(const std::string &label) Get type information for a data entry, i.e. Definition: sqlitereader.cpp:275 void require_output_ready() Definition: sqlitebase.cpp:230 SQLiteReader(const Options &options) Definition: sqlitereader.cpp:32 Copies of boost headers that are required but that may be too recent to be present on the user's mach... std::string comma_unless_last(Iter it, const Cont &c) Definition: sqlitebase.hpp:82 void build_column_map() Definition: sqlitereader.cpp:93 std::map< std::string, std::string, Utils::ci_less > get_column_info() Definition: sqlitebase.cpp:300 virtual PPIDpair get_current_point() Get current rank/ptID pair in data file. Definition: sqlitereader.cpp:251 void open_db(const std::string &, char access='r') Definition: sqlitebase.cpp:164 std::size_t get_col_i(const std::string &col_name) Safely access the column_map and throw informative error when column is missing. Definition: sqlitereader.cpp:157 virtual PPIDpair get_next_point() Get next rank/ptID pair in data file. Definition: sqlitereader.cpp:243 void cout_row(sqlite3_stmt *tmp_stmt) Definition: sqlitebase.cpp:327 EXPORT_SYMBOLS const PPIDpair nullpoint Define 'nullpoint' const. Definition: new_mpi_datatypes.cpp:185 SQLite base class for both reader and writer. Definition: sqlitebase.hpp:93 pointID / process number pair Used to identify a single parameter space point Definition: new_mpi_datatypes.hpp:90 std::map< std::string, std::string, Utils::ci_less > column_types Definition: sqlitereader.hpp:80 |