You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2019/04/02 21:38:00 UTC
[jira] [Assigned] (BEAM-1335) ValueState could use an
initial/default value
[ https://issues.apache.org/jira/browse/BEAM-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles reassigned BEAM-1335:
-------------------------------------
Assignee: Mikhail Gryzykhin
> ValueState could use an initial/default value
> ---------------------------------------------
>
> Key: BEAM-1335
> URL: https://issues.apache.org/jira/browse/BEAM-1335
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Kenneth Knowles
> Assignee: Mikhail Gryzykhin
> Priority: Minor
> Labels: starter
>
> In writing example state code with {{ValueState}} there is almost always a use of {{firstNonNull(state.read(), defaultValue)}}. It would be nice to bake this into the declaration.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)