ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dark <ekdxhrl0...@gmail.com>
Subject Re: How to query to local partition cache data
Date Fri, 03 Nov 2017 01:13:31 GMT
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.


@Andrew MashenkovReply Thanks for your kind reply again. 

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

View raw message