Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1605#discussion_r52599200
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/AbstractStateBackend.java
 ---
    @@ -148,6 +150,18 @@ public void dispose() {
        abstract protected <N, T> ReducingState<T> 
createReducingState(TypeSerializer<N> namespaceSerializer, 
ReducingStateDescriptor<T> stateDesc) throws Exception;
     
        /**
    +    * Creates and returns a new {@link FoldingState}.
    +    *
    +    * @param namespaceSerializer TypeSerializer for the state namespace.
    +    * @param stateDesc The {@code StateDescriptor} that contains the name 
of the state.
    +    *
    +    * @param <N> The type of the namespace.
    +    * @param <T> Type of the values folded into the state
    +    * @param <ACC> Type of the value in the state   *
    +    */
    +   abstract protected <N, T, ACC> FoldingState<T, ACC> 
createFoldingState(TypeSerializer<N> namespaceSerializer, 
FoldingStateDescriptor<T, ACC> stateDesc) throws Exception;
    --- End diff --
    
    protected abstract


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to