}
private void testClient3(String cubeName) throws IOException, HblException {
Deque<Closeable> closeables = new ArrayDeque<Closeable>();
try {
HblQueryClient queryClient = new HblQueryClient(getConf());
closeables.addFirst(queryClient);
byte ids[][] = new byte[2][];
ids[0] = new byte[16];
ids[1] = new byte[16];
HblUtil.incrementKey(ids[1], 0, 16);
/**
* same as client2 but print the summaries separately (no grouping).
* This is obviously not terribly useful, the queries have got to
* have group specification -- -- unless we group up all of it.
*/
AggregateQuery query = queryClient.createQuery();
query.setCube(cubeName).addMeasure("impCnt").addMeasure("click");
query.addClosedSlice("dim1", ids[0], ids[1])/* .addGroupBy("dim1") */;
AggregateResultSet rs = query.execute();
closeables.addFirst(rs);