GitHub user StephanEwen opened a pull request:

    https://github.com/apache/flink/pull/3243

    [FLINK-5024] [core] Refactor the interface of State and StateDescriptor

    This is a refactored version of #2768 
    
    This pull request splits the `StateDescriptor`:
    
      - Basic `StateDescriptor`: This only contains only the information
      - The `SimpleStateDescriptor` is the base of all currently used states 
and holds the information about a single serializer, for the state type.
      - This prepares for a future `CompositeStateDescriptor` that would have 
multiple serializers, such as for the upcoming `MapState`.
    
    This is technically not API-breaking, since it only touches methods with 
`@PublicEvolving` annotations.
    We should think carefully, though, because this may affect all users that 
use the state API on `RuntimeContext` and on the `TriggerContext` (in custom 
windows).


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/StephanEwen/incubator-flink 
xiaogang_state_descriptor

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3243.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3243
    
----
commit 58e5bce6a4adf99a10b2256ff624a7da23e27a80
Author: xiaogang.sxg <[email protected]>
Date:   2017-01-26T18:44:32Z

    [FLINK-5024] [core] Refactor the interface of State and StateDescriptor

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to