/** * A convenience method to create an OBJ_PATH "greater than" expression. */ public static Expression greaterExp(String pathSpec, Object value) { return greaterExp(new ASTObjPath(pathSpec), value); }
/** * @return A greater than Expression. */ public Expression gt(E value) { return ExpressionFactory.greaterExp(getExpression(), value); }
/** * @return Represents a greater than relationship between two attributes * (columns). */ public Expression gt(Property<?> value) { return ExpressionFactory.greaterExp(getExpression(), value.getExpression()); }
Expression gt(Filter filter) { return (filter.getValue() == null) ? expFalse() : greaterExp(filter.getProperty(), filter.getValue()); }
newExpression = ExpressionFactory.lessOrEqualExp(key, numVal); } else if (t == Filter.GREATER_THAN) { newExpression = ExpressionFactory.greaterExp(key, numVal); } else if (t == Filter.GREATER_THAN_EQUAL) { newExpression = ExpressionFactory.greaterOrEqualExp(key, numVal); newExpression = ExpressionFactory.lessOrEqualExp(key, dateVal); } else if (t == Filter.GREATER_THAN) { newExpression = ExpressionFactory.greaterExp(key, dateVal); } else if (t == Filter.GREATER_THAN_EQUAL) { newExpression = ExpressionFactory.greaterOrEqualExp(key, dateVal);