Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-08 Thread Denis Magda
Hi, Please see below > On Jun 8, 2016, at 2:36 PM, Kamal C wrote: > > In `put` operation, we have full object to insert so construction of > PersonKey / > AffinityKey is not a problem. But, during `get` operation, we may have only > the simple key to retrieve data. > Introduce a special cac

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-08 Thread Vladislav Pyatkov
at >>>> >>>> org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4650) >>>> at >>>> >>>> org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1391) >>&

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-08 Thread Kamal C
gnite.internal.processors.cache.IgniteCacheProxy.get(IgniteCacheProxy.java:907) >>> at >>> >>> my.apache.ignite.examples.collocation.CacheCollocationExample.main(CacheCollocationExample.java:69) >>> >>> In some scenarios, I have to fetch data from cache by

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-06 Thread Denis Magda
.70518.x6.nabble.com/file/n5452/CacheCollocationExample.java>> > Company.java > <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Company.java > <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Company.java>> > Person.java > <http://apache

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-06 Thread Kamal C
> http://apache-ignite-users.70518.x6.nabble.com/file/n5452/CacheCollocationExample.java >> > >> Company.java >> <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Company.java> >> Person.java >> <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Person.java> >> >> >> >> >> -- >> View this message in context: >> http://apache-ignite-users.70518.x6.nabble.com/How-to-retrieve-data-from-Collocated-Cache-with-Simple-Key-tp5452.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> >

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-06 Thread Vladislav Pyatkov
affinity-collocation > CacheCollocationExample.java > < > http://apache-ignite-users.70518.x6.nabble.com/file/n5452/CacheCollocationExample.java > > > Company.java > <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Company.java> > Person.java > <http://ap

Re: How to retrieve data from Collocated Cache with Simple Key

2016-06-06 Thread Vladislav Pyatkov
gt; http://apache-ignite-users.70518.x6.nabble.com/file/n5452/CacheCollocationExample.java > > > Company.java > <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Company.java> > Person.java > <http://apache-ignite-users.70518.x6.nabble.com/file/n5452/Person.java>

How to retrieve data from Collocated Cache with Simple Key

2016-06-06 Thread Kamal
6.nabble.com/file/n5452/Person.java> -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-retrieve-data-from-Collocated-Cache-with-Simple-Key-tp5452.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.