return query.isExists();
} finally {
session.close();
}
}
<BUG>static ClientSessionFactory createClientSessionFactory(String host, int port) {
</BUG>
final Map<String, Object> properties = new HashMap<String, Object>();
properties.put("host", host);
properties.put("port", port);

return query.isExists();
} finally {
session.close();
}
}
static ClientSessionFactory createClientSessionFactory(String host, int port) throws Exception {
final Map<String, Object> properties = new HashMap<String, Object>();
properties.put("host", host);
properties.put("port", port);
