paimon-presto-common/src/main/java/org/apache/paimon/presto/EncodingUtils.java [43:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static <T> T decodeStringToObject(String encodedStr) {
        final byte[] bytes = BASE64_DECODER.decode(encodedStr.getBytes(UTF_8));
        try {
            return InstantiationUtil.deserializeObject(bytes, EncodingUtils.class.getClassLoader());
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



paimon-prestosql-common/src/main/java/org/apache/paimon/prestosql/EncodingUtils.java [43:50]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static <T> T decodeStringToObject(String encodedStr) {
        final byte[] bytes = BASE64_DECODER.decode(encodedStr.getBytes(UTF_8));
        try {
            return InstantiationUtil.deserializeObject(bytes, EncodingUtils.class.getClassLoader());
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



