TableCollisionException {
List<Map<String, Object>> existingTable = jdbc.queryForList(
"select id, cluster_id from blur_tables where table_name=? and cluster_id=?", table, clusterId);
switch (existingTable.size()) {
case 0:
throw new TableMissingException(table);
case 1:
return existingTable.get(0);
default:
throw new TableCollisionException(existingTable.size(), table);
}