List<HostInfo> hosts = new ArrayList<HostInfo>();
Statement query = QueryBuilder.select().all().from("system", "local");
ResultSet resultSet = session.execute(query);
hosts.add(new HostInfo(resultSet.one(), resultSet));
query = QueryBuilder.select("peer", "data_center", "host_id", "rack", "tokens").from("system", "peers");
resultSet = session.execute(query);
for (Row row : resultSet.all()) {
hosts.add(new HostInfo(row, null));