QueryResult implements Iterable<Object[]> { public int size() { return exprValues.size(); }  int size(); Map<String, String> columnNameTypes(); @Override Iterator<Object[]> iterator();  }
@Test void size() { QueryResult response = new QueryResult( schema, Arrays.asList( tupleValue(ImmutableMap.of("name", "John", "age", 20)), tupleValue(ImmutableMap.of("name", "Allen", "age", 30)), tupleValue(ImmutableMap.of("name", "Smith", "age", 40)) )); assertEquals(3, response.size()); }