if (!keyspace.isEmpty())
connection.setKeyspace(keyspace);
List<Connection.Future> futures = new ArrayList<Connection.Future>(preparedQueries.size());
for (String query : perKeyspace.get(keyspace)) {
futures.add(connection.write(new PrepareMessage(query)));
}
for (Connection.Future future : futures) {
try {
future.get();
} catch (ExecutionException e) {