7 if (queryColumns.empty() ||
table.length() == 0)
8 return std::map<std::string, std::string>();
15 std::accumulate(
std::next(queryColumns.begin()),
21 std::vector<std::string> retval(queryColumns.size());
30 std::map<std::string, std::string> retvalMap;
31 for (
unsigned int i = 0;
i < queryColumns.size();
i++)
32 retvalMap.insert(make_pair(queryColumns[
i], retval[
i]));
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="")
bool fillVariable(const std::string &columnName, T &outputVariable) const