7 if (queryColumns.empty() || table.length() == 0)
8 return std::map<std::string, std::string>();
14 throw std::runtime_error(
std::string(
"Cannot get ") + table +
".{" +
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]));
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)
tuple key
prepare the HTCondor submission files and eventually submit them
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="")