CYCLUS
|
Interface implemented by backends that support rudimentary querying.
Definition at line 498 of file query_backend.h.
#include <query_backend.h>
Public Member Functions | |
virtual std::map< std::string, DbTypes > | ColumnTypes (std::string table)=0 |
virtual QueryResult | Query (std::string table, std::vector< Cond > *conds)=0 |
virtual std::list< ColumnInfo > | Schema (std::string table)=0 |
virtual std::set< std::string > | Tables ()=0 |
virtual | ~QueryableBackend () |
|
inlinevirtual |
Definition at line 500 of file query_backend.h.
|
pure virtual |
Return a map of column names of the specified table to the associated database type.
Implemented in cyclus::Hdf5Back, cyclus::CondInjector, cyclus::PrefixInjector, and cyclus::SqliteBack.
|
pure virtual |
Return a set of rows from the specificed table that match all given conditions.
Conditions are AND'd together. conds may be NULL.
Implemented in cyclus::Hdf5Back, cyclus::CondInjector, cyclus::PrefixInjector, and cyclus::SqliteBack.
|
pure virtual |
Return information about all columns of a table.
Implemented in cyclus::Hdf5Back, cyclus::CondInjector, and cyclus::PrefixInjector.
|
pure virtual |
Return a set of all table names currently in the database.
Implemented in cyclus::Hdf5Back, cyclus::CondInjector, cyclus::PrefixInjector, and cyclus::SqliteBack.