presto-main/src/main/java/io/prestosql/operator/aggregation/TypedHeap.java/TypedHeap/addAll
class TypedHeap:    public void addAll(Block block)
    {
        for (int i = 0; i < block.getPositionCount(); i++) {
            add(block, i);
        }
    }