You can put the number of entries in B cache related to this object A right in the object A. After that, you can use this number to make keys of all objects from cache B, as you already know q and r. But it depends on use case.
Evgenii пт, 4 сент. 2020 г. в 03:21, ssansoy <s.san...@cmcmarkets.com>: > Thanks Evgenii, > > Could you please elaborate a bit on how the get would work here. > > E.g. parent object A has properties p, q, r > child object B has properties q, r, s, t > > {q, r, s} are the primary key of B (as defined in backing SQL table DDL > which is how the cache was created) > > When an A update comes in with values p1, q1, r1, we were doing a select * > from B where q=q1 and r=r1 which would return multiple records. > > Is there an equivalent using igniteCacheForB.get(key). What would key be > here? > > Thanks > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >