4 const std::vector<std::string> &queryColumns,
9 if( queryColumns.size() == 0 || table.length() == 0 )
10 return std::map<std::string,std::string>();
21 throw std::runtime_error(
std::string(
"Cannot get ") +
24 std::accumulate(
std::next( queryColumns.begin() ),
33 std::vector<std::string> retval( queryColumns.size() );
46 std::map<std::string,std::string> retvalMap;
47 for(
unsigned int i=0;
i<queryColumns.size();
i++)
48 retvalMap.insert( make_pair( queryColumns[
i], retval[i] ) );
bool fillVariable(const std::string &columnName, T &outputVariable) const
const QueryResults singleAttribute(const T &data) const
static std::map< std::string, std::string > fetch(const std::vector< std::string > &queryColumns, const std::string &table, const std::string &key, l1t::OMDSReader &m_omdsReader)
const QueryResults basicQuery(const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")