You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Chris Berry <ch...@gmail.com> on 2017/02/09 04:50:54 UTC

keySet()

Hi,

What is the best/most efficient way to implement the Map::keySet() method in Ignite?
The underlying distributed (PARTITIONED) cache is constantly changing, and I just want all the Keys at the given snapshot.

Thanks,
— Chris 

Re: keySet()

Posted by Chris Berry <ch...@gmail.com>.
thanks you!!

> On Feb 9, 2017, at 2:48 PM, vkulichenko <va...@gmail.com> wrote:
> 
> Hi Chris,
> 
> There is no keySet operation on IgniteCache, but you can execute a SQL query
> like this:
> 
> select _key from MyType
> 
> -Val
> 
> 
> 
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/keySet-tp10519p10533.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: keySet()

Posted by vkulichenko <va...@gmail.com>.
Hi Chris,

There is no keySet operation on IgniteCache, but you can execute a SQL query
like this:

select _key from MyType

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/keySet-tp10519p10533.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.