Re: Is it possible to register a custom TypeInfoFactory without using an annotation?

Posted by Biao Liu on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Is-it-possible-to-register-a-custom-TypeInfoFactory-without-using-an-annotation-tp29649p29765.html

Hi,

Java supports customization of serializer/deserializer, see [1]. Could it satisfy your requirement?

1. https://stackoverflow.com/questions/7290777/java-custom-serialization

Thanks,
Biao /'bɪ.aʊ/



On Mon, 26 Aug 2019 at 16:34, 杨力 <[hidden email]> wrote:
I'd like to provide a custom serializer for a POJO class. But that class cannot be modified so it's not possible to add a @TypeInfo annotation to it. Are there any other ways to register one?