/** * Less Than or Equal to - property less than or equal to the given value. */ public static Expression le(String propertyName, Object value) { return Ebean.getExpressionFactory().le(propertyName, value); }
/** * Create the query by Example expression specifying more options. */ public static ExampleExpression exampleLike(Object example, boolean caseInsensitive, LikeType likeType) { return Ebean.getExpressionFactory().exampleLike(example, caseInsensitive, likeType); }
/** * Case insensitive Contains - property like %value%. Typically uses a lower() * function to make the expression case insensitive. */ public static Expression icontains(String propertyName, String value) { return Ebean.getExpressionFactory().icontains(propertyName, value); }
/** * All Equal - Map containing property names and their values. * <p> * Expression where all the property names in the map are equal to the * corresponding value. * </p> * * @param propertyMap a map keyed by property names. */ public static Expression allEq(Map<String, Object> propertyMap) { return Ebean.getExpressionFactory().allEq(propertyMap); }
/** * Or - join two expressions with a logical or. */ public static Expression or(Expression expOne, Expression expTwo) { return Ebean.getExpressionFactory().or(expOne, expTwo); }
/** * Less Than - property less than the given value. */ public static Expression lt(String propertyName, Object value) { return Ebean.getExpressionFactory().lt(propertyName, value); }
/** * Add raw expression with no parameters. */ public static Expression raw(String raw) { return Ebean.getExpressionFactory().raw(raw); }
/** * Or - join two expressions with a logical or. */ public static Expression or(Expression expOne, Expression expTwo) { return Ebean.getExpressionFactory().or(expOne, expTwo); }
/** * Not Equal To - property not equal to the given value. */ public static Expression ne(String propertyName, Object value) { return Ebean.getExpressionFactory().ne(propertyName, value); }
/** * Case Insensitive Equal To - property equal to the given value (typically * using a lower() function to make it case insensitive). */ public static Expression ieq(String propertyName, String value) { return Ebean.getExpressionFactory().ieq(propertyName, value); }
/** * Greater Than or Equal to - property greater than or equal to the given * value. */ public static Expression ge(String propertyName, Object value) { return Ebean.getExpressionFactory().ge(propertyName, value); }
/** * Like - property like value where the value contains the SQL wild card * characters % (percentage) and _ (underscore). */ public static Expression like(String propertyName, String value) { return Ebean.getExpressionFactory().like(propertyName, value); }
/** * Greater Than - property greater than the given value. */ public static Expression gt(String propertyName, Object value) { return Ebean.getExpressionFactory().gt(propertyName, value); }
/** * Less Than - property less than the given value. */ public static Expression lt(String propertyName, Object value) { return Ebean.getExpressionFactory().lt(propertyName, value); }
/** * Case insensitive {@link #exampleLike(Object)} */ public static ExampleExpression iexampleLike(Object example) { return Ebean.getExpressionFactory().iexampleLike(example); }
/** * Like - property like value where the value contains the SQL wild card * characters % (percentage) and _ (underscore). */ public static Expression like(String propertyName, String value) { return Ebean.getExpressionFactory().like(propertyName, value); }
/** * In - property has a value in the array of values. */ public static Expression in(String propertyName, Object[] values) { return Ebean.getExpressionFactory().in(propertyName, values); }
/** * In - using a subQuery. */ public static Expression in(String propertyName, Query<?> subQuery) { return Ebean.getExpressionFactory().in(propertyName, subQuery); }
/** * Add raw expression with a single parameter. * <p> * The raw expression should contain a single ? at the location of the * parameter. * </p> */ public static Expression raw(String raw, Object value) { return Ebean.getExpressionFactory().raw(raw, value); }
/** * And - join two expressions with a logical and. */ public static Expression and(Expression expOne, Expression expTwo) { return Ebean.getExpressionFactory().and(expOne, expTwo); }