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

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

One thing to consider is whether there is a version of {{readLater}} for the 
{{contains}} query on a few elements, and also a bulk {{contains}} query. You 
shouldn't have to read the whole set to ask these queries, and you shouldn't 
have to do separate reads for them either.

> 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: Jingsong Lee
>            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