You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2017/01/28 15:33:24 UTC
[jira] [Created] (BEAM-1335) ValueState could use an
initial/default value
Kenneth Knowles created BEAM-1335:
-------------------------------------
Summary: 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
Priority: Minor
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
(v6.3.4#6332)