You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ggoleash <gg...@nvisia.com> on 2016/10/13 20:27:08 UTC

randomEntry() deprecated

Since this method of IgniteCache<K,V> interface is deprecated, does anyone
know how to get an Entry without knowing any of the keys in the cache?

For example, if an external process (maybe via Nifi) is writing directly to
a cache, how does a separate application read from the cache without knowing
any of the keys? 






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

Re: randomEntry() deprecated

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

You can also use SQL queries for indexed search:
https://apacheignite.readme.io/docs/sql-queries

-Val



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

Re: randomEntry() deprecated

Posted by ggoleash <gg...@nvisia.com>.
Nevermind -- localEntries() is better anyway.  But if anyone knows of a
better way to iterate over unknown cache entries, please advise.



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