/** * A convenience method to create an OBJ_PATH "not equal to" expression. */ public static Expression noMatchExp(String pathSpec, Object value) { return noMatchExp(new ASTObjPath(pathSpec), value); }
/** * @return An expression representing inequality to a value. */ public Expression ne(E value) { return ExpressionFactory.noMatchExp(getExpression(), value); }
/** * @return An expression representing inequality between two attributes * (columns). */ public Expression ne(Property<?> value) { return ExpressionFactory.noMatchExp(getExpression(), value.getExpression()); }
Expression neq(Filter filter) { return noMatchExp(filter.getProperty(), filter.getValue()); }
newExpression = ExpressionFactory.matchExp(key, numVal); } else if (t == Filter.NOT_EQUAL) { newExpression = ExpressionFactory.noMatchExp(key, numVal); } else if (t == Filter.LESS_THAN) { newExpression = ExpressionFactory.lessExp(key, numVal); newExpression = ExpressionFactory.matchExp(key, dateVal); } else if (t == Filter.NOT_EQUAL) { newExpression = ExpressionFactory.noMatchExp(key, dateVal); } else if (t == Filter.LESS_THAN) { newExpression = ExpressionFactory.lessExp(key, dateVal);