1 #ifndef _ots_DatabaseConfigurationInterface_h_
2 #define _ots_DatabaseConfigurationInterface_h_
4 #include "otsdaq-core/ConfigurationInterface/ConfigurationInterface.h"
20 using config_version_map_t = std::map<std::string ,
TableVersion >;
27 throw(std::runtime_error);
31 bool overwrite =
false)
const throw(std::runtime_error);
37 std::set<std::string > getAllTableNames()
const throw(std::runtime_error);
39 std::set<TableVersion> getVersions(
const TableBase* )
const noexcept;
42 std::set<std::string > getAllTableGroupNames(
43 const std::string& filterString =
"")
const throw(std::runtime_error);
44 std::set<TableGroupKey> getKeys(
const std::string& groupName)
const;
45 TableGroupKey findLatestGroupKey(
const std::string& groupName)
const noexcept;
48 config_version_map_t getTableGroupMembers(std::string
const& ,
49 bool includeMetaDataTable =
false)
const
50 throw(std::runtime_error);
53 void saveTableGroup(config_version_map_t
const& ,
54 std::string
const& )
const
55 throw(std::runtime_error);