Andrey,

I've looked into the code and seems that I was wrong before. ScanQueries don't preload data from a storage as well.

--
Denis

On 1/27/2016 2:52 PM, Andrey Nestrogaev wrote:
Hi Denis,

Ok, lets see example from doc for ScanQuery:

IgniteCache<Long, Person> cache = ignite.cache("mycache");
// Find only persons earning more than 1,000.
try (QueryCursor cursor = cache.query(new *ScanQuery*((k, p) ->
p.getSalary() > 1000)) {
   for (Person p : cursor)
     System.out.println(p.toString());
}

What happens if the cache is initially empty and I run this code twice?




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Read-through-implementation-for-sql-query-tp2735p2740.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to