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

ASF GitHub Bot commented on FLINK-5721:
---------------------------------------

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

    https://github.com/apache/flink/pull/3272#discussion_r99614243
  
    --- Diff: docs/dev/stream/state.md ---
    @@ -113,9 +113,19 @@ be retrieved using `Iterable<T> get()`.
     added to the state. The interface is the same as for `ListState` but 
elements added using
     `add(T)` are reduced to an aggregate using a specified `ReduceFunction`.
     
    +* `FoldingState<T, ACC>`: This keeps a single value that represents the 
aggregation of all values
    +added to the state. Contrary to `ReducingState`, the aggregate type is 
different from the type of
    +elements that are added to the state. The interface is the same as for 
`ListState` but elements
    +added using `add(T)` are folded into an aggregate using a specified 
`FoldFunction`.
    +
     All types of state also have a method `clear()` that clears the state for 
the currently
     active key, i.e. the key of the input element.
     
    +<span class="label label-danger">Attention</span> `FoldingState` will be 
deprecated in one of
    +the next versions of Flink and will be completely removed in the Future. A 
more general
    --- End diff --
    
    Future should be lower case


> Add FoldingState to State Documentation
> ---------------------------------------
>
>                 Key: FLINK-5721
>                 URL: https://issues.apache.org/jira/browse/FLINK-5721
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to