Ravi,

For now the easiest way to get all keys is to execute ScanQuery on the
cache. It will return all key-value pairs. And then you can manually
extract keys. Please see
org.apache.ignite.examples.datagrid.CacheQueryExample.scanQuery().
There are plans to add optional transformer to ScanQuery which will make
your use case even easier to implement. This feature is probably to be
added in one of further releases.

Vladimir.

On Wed, Feb 10, 2016 at 10:15 AM, Ravi <[email protected]> wrote:

> i have named object of ignitecache .
>
>
>  cache= ignite.getOrCreateCache(cacheregion);
>                                  cache.put(key, value);
>
>
>  i store the data into cache using region and key with its value.
> now i want to fetch all the keys only ??
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/how-to-get-all-keys-stored-into-ignitecache-tp2916.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to