presto-spi/src/main/java/io/prestosql/spi/session/PropertyMetadata.java/PropertyMetadata/encode
class PropertyMetadata:    public Object encode(T value)
    {
        return encoder.apply(value);
    }