Hi there,Is there a low level way to store a Map in side a distributed Hazelcast Map?Ideally I'd like to be able to enable index support and use the Query Predicate API to query against it. I don't mind implementing my own Predicate (which looks very easy) or data extractor (Whats the interface?) for the Index but wasn't sure what the best way to store the Map might be.Ideally I'd like to do something like this:IMap<String, Map<String, String> customers = Hazelcast.getMap("customers");customers.addIndex("firstName", true);customers.addIndex("lastName", true);customers.put("1", new HashMap<String,String>() {{ put("Joe", "Smith"); }});customers.put("2", new HashMap<String,String>() {{ put(("Ali", "Selam"); }});customers.put("3", new HashMap<String,String>() {{ put(("Avi", "Noyan"); }});Set<Map<String, String>> joes = (Set<Map<String, String>>) customers.values(new MapPredicate("firstName IS 'Joe'"));Many thanksDan--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hazelcast/-/JoyzY2KZrFYJ.
To post to this group, send email to haze...@googlegroups.com.
To unsubscribe from this group, send email to hazelcast+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hazelcast?hl=en.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/44c2b605-0a91-4ac9-bb6f-d315aadce710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/07459b70-4974-4e29-a722-b3ac2d24249f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/30968e7c-5d28-4a5e-aa1f-abdf504f1d0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/015c9029-4e60-4e18-85fc-886d61974d17%40googlegroups.com.
HazelcastInstance client = HazelcastClient.newHazelcastClient(clientConfig);
IMap<String, Map<String, Object>> map = client.getMap("r-da2");
HashMap<String, Object> a = new HashMap<>();
a.put("active", true);
a.put("age", 25);
map.put( "a", a );
System.out.println(map.values(new SqlPredicate("age < 30")));Exception in thread "main" com.hazelcast.query.QueryException: java.lang.IllegalArgumentException: There is no suitable accessor for 'age' on class 'class java.util.HashMap'If you can point me out to the right direction of setting the prebuilt extractor for a map up?
Greatly appreciated,
Eugene