I am looking for an open source library in Java to parse and build sql-like expressions.
for example, to evaluate the validity of expressions like:
"(a = x or y ) and (b != z)"
In addition, I want to have an API to create or extend expressions. sort of:
Expression exp = new Expression();
exp.addCondition("a",{"x","y"},Operator.OR);
It's not so difficult to implement such a library, but aren't we developing in Java to enjoy collaborative development?
thanks
Liorh source
share