[infinispan-issues] [JBoss JIRA] (ISPN-2923) provides an optimal way to search and retrieve the first non null value

William Burns (JIRA) issues at jboss.org
Fri Mar 18 12:36:00 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns resolved ISPN-2923.
---------------------------------
    Resolution: Duplicate


Distributed streams feature handles this with findAny operation.

> provides an optimal way to search and retrieve the first non null value
> -----------------------------------------------------------------------
>
>                 Key: ISPN-2923
>                 URL: https://issues.jboss.org/browse/ISPN-2923
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Distributed Execution and Map/Reduce
>    Affects Versions: 5.2.5.Final
>            Reporter: Mathieu Lachance
>            Priority: Minor
>
> It would be nice if infinispan could provide a way to the common problem of searching and retrieve the first non null value.
> My attempt was to use the map reduce framework, but it would still scan all the keys and value even if the result as been found. Maybe Infinispan could provide a way to "stop" the map-reduce operation on all nodes when asked, ex, when the first non null value has been found ?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list