RE: Implementing custom affinity logic

2018-07-23 Thread Stanislav Lukyanov
are collocated you could run some local queries (new SqlQuery().setLocal(true)) and see that the number of entries returned is as expected. Stan From: kotamrajuyashasvi Sent: 23 июля 2018 г. 18:35 To: user@ignite.apache.org Subject: Implementing custom affinity logic Hi I m working on an

Implementing custom affinity logic

2018-07-23 Thread kotamrajuyashasvi
Hi I m working on an ignite project where I want to have certain records to be collocated based on a custom calculated value which is obtained from the fields of the primary key object. For example the Primary key pojos have fields a,b,c. I want all records having same value of (a+b)/c collo