Re: How to register TypeInfoFactory for 'external' class

2019-02-14 Thread Alexey Trenikhun
. Thanks, Alexey From: Tzu-Li (Gordon) Tai Sent: Tuesday, February 12, 2019 9:14 PM To: user@flink.apache.org Subject: Re: How to register TypeInfoFactory for 'external' class Hi Alexey, I don't think using the @TypeInfo annotation is doable at

Re: How to register TypeInfoFactory for 'external' class

2019-02-12 Thread Tzu-Li (Gordon) Tai
Hi Alexey, I don't think using the @TypeInfo annotation is doable at the moment. Is this class being used only for input / output types of functions / operators? Or are you using it as a state type? For the former, I think you can explicitly set the TypeInformation by calling setTypeInfo on tran

How to register TypeInfoFactory for 'external' class

2019-02-12 Thread Alexey Trenikhun
Hello, I've class, which I can't change (generated code or class from third party library), so I can't use @TypeInfo annotation, how can I register TypeInfoFactory for such class? It looks like TypeExtractor has map of registered factories - registeredTypeInfoFactories and even registration meth