presto-main/src/main/java/io/prestosql/operator/aggregation/state/MinMaxNStateSerializer.java/MinMaxNStateSerializer/MinMaxNStateSerializer
class MinMaxNStateSerializer:    public MinMaxNStateSerializer(BlockComparator blockComparator, Type elementType)
    {
        this.blockComparator = blockComparator;
        this.elementType = elementType;
        this.arrayType = new ArrayType(elementType);
        this.serializedType = RowType.anonymous(ImmutableList.of(BIGINT, arrayType));
    }