What would be the Expression substitute for the below code which uses PredExp for aerospike client
predExps = Arrays.asList(PredExp.integerVar("v"), PredExp.integerValue((Long) fieldValue), PredExp.integerEqual(), PredExp.listBin(fieldName), PredExp.listIterateOr("v"));
Not able to figure out how to replicate the list behaviour here.
Tried to replicate the same behaviour using Exp.intOr but that is not working
Your predexp is checking if any value in a list matches a particular value:
The equivalent in expression is to use the
list_get_by_value()expression. Should be similar to the following in Java - I'm currently unable to test: