[ https://issues.apache.org/jira/browse/FLINK-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai resolved FLINK-6324. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.3.0 Resolved for 1.3.0 with http://git-wip-us.apache.org/repos/asf/flink/commit/a1aab64 > Refine state access methods in OperatorStateStore > ------------------------------------------------- > > Key: FLINK-6324 > URL: https://issues.apache.org/jira/browse/FLINK-6324 > Project: Flink > Issue Type: Improvement > Components: DataStream API, State Backends, Checkpointing > Reporter: Tzu-Li (Gordon) Tai > Assignee: Tzu-Li (Gordon) Tai > Fix For: 1.3.0 > > > This proposes to refine the OperatorStateStore interface by, > - deprecating Java serialization shortcuts > - rename getOperatorState to getListState > The Java serialization shortcuts can be deprecated because they were > previously introduced to provide a smoother migration path from older > savepoints. However, its usage should definitely be discouraged. > Renaming to {{getListState}} is a preparation of making the names of state > access methods contain information about both its redistribution pattern > on restore and the shape of its data structure, since the combination of > these two is orthogonal. This convention will also provide a better > naming pattern for more state access methods in the future, for example > {{getUnionListState}}. If the method name does not contain its > redistribution pattern (e.g., {{getListState}}), then it simply implies the > default repartitioning scheme (SPLIT_DISTRIBUTE). -- This message was sent by Atlassian JIRA (v6.3.15#6346)