提交 dceb80ee 编写于 作者: S Serge Rider

#215 Cassandra: remove unsupported operators from the list

上级 f4621455
......@@ -113,8 +113,23 @@ public enum DBCLogicalOperator {
public boolean evaluate(Object srcValue, Object[] arguments) {
return false;
}
},
CONTAINS("CONTAINS", 1) {
@Override
public boolean evaluate(Object srcValue, Object[] arguments) {
final Object cmpValue = arguments == null ? null : arguments[0];
return false;//DBUtils.compareDataValues(srcValue, cmpValue) == 0;
}
},
CONTAINS_KEY("CONTAINS KEY", 1) {
@Override
public boolean evaluate(Object srcValue, Object[] arguments) {
final Object cmpValue = arguments == null ? null : arguments[0];
return false;//DBUtils.compareDataValues(srcValue, cmpValue) != 0;
}
};
private final String stringValue;
private final int argumentCount;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册