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 :
> Hi!
>
> What is the best way to iterate over the
Hello!
You can try to use SqlFieldsQuery with “select _key from [CacheTable]” for that.
From: Mikael
Sent: Wednesday, September 11, 2019 3:47 PM
To: user@ignite.apache.org
Subject: Iterator for keys only ?
Hi!
What is the best way to iterate over the keys only from a cache ? I
don't wan
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