[ 
https://issues.apache.org/jira/browse/FLINK-15436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005916#comment-17005916
 ] 

xiemeilong commented on FLINK-15436:
------------------------------------

[~yunta]  Thanks you very much.   

 

For example, I have different rules for every device ,but I don’t want compile 
the rule repeatly.  So I keep it in keyed state ,but the RuleEvaluator maybe 
not serializable.

 
public Class PojoClass {    public RuleDescription[] rules;
    public transient RuleEvaluator[] evaluators;
}

> Add  a hook of deserialized  for pojo state object.
> ---------------------------------------------------
>
>                 Key: FLINK-15436
>                 URL: https://issues.apache.org/jira/browse/FLINK-15436
>             Project: Flink
>          Issue Type: Wish
>          Components: API / Type Serialization System
>            Reporter: xiemeilong
>            Priority: Major
>
> I need to do some recovery work when state deserialized back, for example , I 
> want to construct a not serializable object to do some custom logic depends 
> on the state and only update it on the state updated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to