ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Cross cache query cannot query data
Date Thu, 17 Mar 2016 19:39:29 GMT
Hi,

It's really hard to understand your issue. Please refer to CacheQueryExample
[1] that shows how to execute cross-cache queries.

Most likely you get empty result because persons and organization are not
properly collocated. Note how AffinityKey class is used as a key for Person
to make sure that all persons that belong to a particalur organization are
stored on the same node where this organization is stored.

[1]
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cross-cache-query-cannot-query-data-tp3556p3563.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message