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: Iterator for keys only ?
Date Wed, 11 Sep 2019 15:05:24 GMT
Hello!

You can also use ScanQuery with Transformer. Note that all key-value pairs
will still be deserialized. If your key fits in index, it would indeed be
better to use SQL.

Regards,
-- 
Ilya Kasnacheev


ср, 11 сент. 2019 г. в 15:47, Mikael <mikael-aronsson@telia.com>:

> Hi!
>
> What is the best way to iterate over the keys only from a cache ? I
> don't want the values because these are long text strings so will slow
> down the iterator a lot.
>
> Pretty much the Ignite way of doing map.keySet().iterator();
>
> Mikael
>
>
>

Mime
View raw message