Hi All,
The problem statement is in context of "In-Memory Data Grid" persistence
enabled.
I have requirement/limitation to store the value of a class's object as
byte [] , understood by the application in certain format.
IgniteCache<Integer, byte[]> cache =
ignite.getOrCreateCache(cacheCfg);
// here key is ID and value is class's object as byte [] ,
Some of the instance variable (in the form of Map) of the object has
multiple key value pair
ex: one of the instance variable is
Map<String,List<String>> userAttributes;
and has values for one of the object instance as
a - v1 // userAttributes.put("a", "v1")
b - v2,v3,v4 // userAttributes.put("a", "v2","V3","v4")
......
Question is - if I want to define the index on these values of
userAttributes so that entry can be retrieved, the equivalent index would
hold the value of entry id as
(a = v1) - 100,101,201,....
(b = v4) - 201
How to achieve this functionality, any pointers? or Any other suggestions ?
Thanks,
Rajesh