flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5023) Add get() method in State interface
Date Thu, 01 Dec 2016 08:16:58 GMT

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

ASF GitHub Bot commented on FLINK-5023:

Github user shixiaogang commented on the issue:

    I rebased the branch to resolve the conflicts with the master branch.

> Add get() method in State interface
> -----------------------------------
>                 Key: FLINK-5023
>                 URL: https://issues.apache.org/jira/browse/FLINK-5023
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>            Reporter: Xiaogang Shi
>            Assignee: Xiaogang Shi
> Currently, the only method provided by the State interface is `clear()`. I think we should
provide another method called `get()` to return the structured value (e.g., value, list, or
map) under the current key. 
> In fact, the functionality of `get()` has already been implemented in all types of states:
e.g., `value()` in ValueState and `get()` in ListState. The modification to the interface
can better abstract these states.

This message was sent by Atlassian JIRA

View raw message