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

Kenneth Knowles commented on BEAM-41:
-------------------------------------

Yes, this seems about right. Just to be clear, you may want to override `add()` 
to note in the javadoc that it is still a "blind write" that does not require 
reading. We can work out the details in a PR if you like.

> State for "Set" data, supporting efficient membership checks
> ------------------------------------------------------------
>
>                 Key: BEAM-41
>                 URL: https://issues.apache.org/jira/browse/BEAM-41
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-model
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Minor
>              Labels: State
>
> Analogous to how BagState supports efficient blind writes, a SetState would 
> support efficient membership checking without reading the entire set.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to