I couldn’t find this in the documentation.
If I have a complex object in a hazelcast cache:
public class MyObj {
private int something;
private AnotherObject complexMember;
}
Can I do:
map.values(new SqlPredicate("something > 3 AND complexMember.someProperty > 3"));
I know that the @Cachable annotation uses SpEL where this is possible. Is it possible to do it programmatically somehow ?
Thanks,
Yes possible. Try following;