Re: Retrieving multiple keys with filtering

2017-09-04 Thread Semyon Boikov
e the one we're discussing in this thread... >> >> >> I guess I'm stuck with the Compute-based approach for now. :( >> >> Thanks! >> Andrey >> >> ------ >> *From:* Semyon Boikov >> *Sent:* Tuesday, August 29,

Re: Retrieving multiple keys with filtering

2017-09-03 Thread Dmitriy Setrakyan
cussing in this thread... > > > I guess I'm stuck with the Compute-based approach for now. :( > > Thanks! > Andrey > > -- > *From:* Semyon Boikov > *Sent:* Tuesday, August 29, 2017 6:15 AM > > *To:* user@ignite.apache.org > *

Re: Retrieving multiple keys with filtering

2017-08-29 Thread Andrey Kornev
017 6:15 AM To: user@ignite.apache.org Subject: Re: Retrieving multiple keys with filtering Hi, If EntryProcessor returns null then null is not added in the result map. But I agree that using invokeAll() will have a lot of unnecessary overhead. Perhaps we need add new getAll method on API, otherwise bes

Re: Retrieving multiple keys with filtering

2017-08-29 Thread Semyon Boikov
All() is not what one would call *efficient* (the key word >> in my original question) way of filtering. >> >> Thanks! >> Andrey >> >> -- >> *From:* Dmitriy Setrakyan >> *Sent:* Saturday, August 26, 2017 8:37 AM >> *To:

Re: Retrieving multiple keys with filtering

2017-08-28 Thread Dmitriy Setrakyan
triy Setrakyan > *Sent:* Saturday, August 26, 2017 8:37 AM > *To:* user > > *Subject:* Re: Retrieving multiple keys with filtering > > Andrey, > > Good to hear from you. Long time no talk. > > I don't think invokeAll has only update semantics. You can definitely use &g

Re: Retrieving multiple keys with filtering

2017-08-28 Thread Andrey Kornev
Thanks! Andrey From: Dmitriy Setrakyan Sent: Saturday, August 26, 2017 8:37 AM To: user Subject: Re: Retrieving multiple keys with filtering Andrey, Good to hear from you. Long time no talk. I don't think invokeAll has only update semantics. You can defini

Re: Retrieving multiple keys with filtering

2017-08-26 Thread Dmitriy Setrakyan
gt; > ------ > *From:* slava.koptilin > *Sent:* Thursday, August 24, 2017 9:03 AM > *To:* user@ignite.apache.org > *Subject:* Re: Retrieving multiple keys with filtering > > Hi Andrey, > > Yes, you are right. ScanQuery scans all entries. > Perhaps, IgniteC

Re: Retrieving multiple keys with filtering

2017-08-24 Thread Andrey Kornev
obust approach? Thanks Andrey From: slava.koptilin Sent: Thursday, August 24, 2017 9:03 AM To: user@ignite.apache.org Subject: Re: Retrieving multiple keys with filtering Hi Andrey, Yes, you are right. ScanQuery scans all entries. Perhaps, IgniteCache#invokeAll(keys, cacheEntryPr

Re: Retrieving multiple keys with filtering

2017-08-24 Thread slava.koptilin
,%20org.apache.ignite.cache.CacheEntryProcessor,%20java.lang.Object...) Thanks! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Retrieving-multiple-keys-with-filtering-tp16391p16400.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Retrieving multiple keys with filtering

2017-08-24 Thread Andrey Kornev
ndrey _ From: slava.koptilin mailto:slava.kopti...@gmail.com>> Sent: Thursday, August 24, 2017 2:34 AM Subject: Re: Retrieving multiple keys with filtering To: mailto:user@ignite.apache.org>> Hi Andrey, It seems IgniteCache#query(ScanQuery) method is that you are looking for. https://

Re: Retrieving multiple keys with filtering

2017-08-24 Thread slava.koptilin
/datagrid/CacheQueryExample.java Thanks! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Retrieving-multiple-keys-with-filtering-tp16391p16392.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Retrieving multiple keys with filtering

2017-08-23 Thread Andrey Kornev
Hello, I have a list of cache keys (up to a few hundred of them) and a filter predicate. I'd like to efficiently retrieve only those values that pass the filter. I'm pretty sure earlier versions of Ignite (or was pre-Ignite?) used to have some "getAll()" methods that would take a set of keys a