My answer of question describes below code. 

Q. How can I query only the data held by Ignite data nodes? 

A. First, Ignite AffinityFunction is used to send the desired data to one
node with partition 1. And, if you are guaranteed to be assigned to 1
partition, use the code below. Use Ignite AffinityRun | affinityCall to
assign compute task to partition 1 node. The node then assigns a partition
to the setPartitions method to query only the partitions it is responsible
for. This part is described in the code below.

https://github.com/gridgain/gridgain-advanced-examples/blob/master/src/main/java/org/gridgain/examples/datagrid/query/ScanQueryExample.java

@Andrew MashenkovReply Thanks for your kind reply again. 




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to