It is also possible to query a collection / array using the any semantic as shown below:
// it matches all motorbikes where any wheel's name is 'front-wheel'
Predicate p = Predicates.equals('wheels[any].name', 'front');
Collection<Motorbike> result = map.values(p);Hi Victor
Thanks for your feedback! I'm happy it works fine in your use case.
I agree that using name() would be more clean but I'm afraid of loosing backward compatibility by introducing this change. Opening a ticket to track it would be great though.
Supporting enums in portable is a bit broader topic. I'm not sure if there's any explicit plan to extend the portable format. IMHO not in 3.x release roadmap. And as you said, it's relatively easy to work it around. Thx for this hint anyway!
Cheers
Tom
--
You received this message because you are subscribed to a topic in the Google Groups "Hazelcast" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hazelcast/ZjMaxNMAzFU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
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/90baa2ac-9eb2-4d31-9afa-fa7dfa8469c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.