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

Beam JIRA Bot commented on BEAM-9320:
-------------------------------------

This issue was marked "stale-assigned" and has not received a public comment in 
7 days. It is now automatically unassigned. If you are still working on it, you 
can assign it to yourself again. Please also give an update about the status of 
the work.

> 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
>            Priority: P3
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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