[ 
https://issues.apache.org/jira/browse/BEAM-9320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Mills reassigned BEAM-9320:
----------------------------------

    Assignee: Reuven Lax

> Add an annotation to State to indicate it should always be fetched
> ------------------------------------------------------------------
>
>                 Key: BEAM-9320
>                 URL: https://issues.apache.org/jira/browse/BEAM-9320
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Daniel Mills
>            Assignee: Reuven Lax
>            Priority: Minor
>
> Currently, if you have several StateIds that always need to be fetched for a 
> stateful DoFn, you have to have a block of .readLater() calls at the 
> beginning of each method.  It would be nicer to have an nnotation on the 
> processElement/processTimer call params to indicate that the value should 
> always be fetched.
> Something like:
> @ProcessElement
> void process(@RequiredStateId("foo") ValueState foo, E element) \{...}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to