ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: alternate for Cache getAll method
Date Thu, 01 Aug 2019 20:38:08 GMT
Hello!

IgniteCache is Iterable, meaning you can just iterate over all its entries,
such as in smart for-loop:

for (CacheEntry e : cache) { ... }

Regards,
-- 
Ilya Kasnacheev


чт, 1 авг. 2019 г. в 21:13, raja24 <nthillaigovindan@tiaa.org>:

> Hi,
>
> I want to retrieve all the records from  the cache with out passing
> collection of keys on cache getAll(collection) method.
>
> For example I want to display all the country info from country-cache so
> for
> this case I don't know the key values.
>
> Do we have any alternative method like getAll() or values().
>
>
> Thanks,
> Raja.
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Mime
View raw message