presto-main/src/main/java/io/prestosql/operator/aggregation/TypedHeap.java/TypedHeap/popAll
class TypedHeap:    public void popAll(BlockBuilder resultBlockBuilder)
    {
        while (positionCount > 0) {
            pop(resultBlockBuilder);
        }
    }