SQL Eval support like & not like

This commit is contained in:
wenshao
2013-01-26 00:48:08 +08:00
parent 9cd061eb5e
commit 2bba9fb0e8
@@ -850,6 +850,7 @@ public class SQLEvalVisitorUtils {
boolean matchResult = !Pattern.matches(pattern, input);
x.putAttribute(EVAL_VALUE, matchResult);
}
break;
case Like: {
String pattern = castToString(right.getAttributes().get(EVAL_VALUE));
String input = castToString(left.getAttributes().get(EVAL_VALUE));