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
at
>>>>
>>>> org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:4650)
>>>> at
>>>>
>>>> org.apache.ignite.internal.processors.cache.GridCacheAdapter.get(GridCacheAdapter.java:1391)
>>&
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
.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
> 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.
>>
>
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
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>
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.