presto-main/src/main/java/io/prestosql/operator/aggregation/TypedKeyValueHeap.java/TypedKeyValueHeap/pop
class TypedKeyValueHeap:    public void pop(BlockBuilder resultBlockBuilder)
    {
        valueType.appendTo(valueBlockBuilder, heapIndex[0], resultBlockBuilder);
        remove();
    }