for (int i = 0; i < types.size(); i++) {
groupByBlockBuilders[i] = pageBuilder.getBlockBuilder(i);
}
while (!pageBuilder.isFull() && pagePositionToGroup.hasNext()) {
Entry next = pagePositionToGroup.next();
long pagePosition = next.getLongKey();
int groupId = next.getIntValue();
groupByHash.appendValuesTo(pagePosition, groupByBlockBuilders);
for (int i = 0; i < aggregators.size(); i++) {
Aggregator aggregator = aggregators.get(i);