/** * 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); }
/** * And - join two expressions with a logical and. */ public static Expression and(Expression expOne, Expression expTwo) { return Ebean.getExpressionFactory().and(expOne, expTwo); }
public ExpressionList<T> between(String propertyName, Object value1, Object value2) { add(expr.between(propertyName, value1, value2)); return this; }
/** * 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); }
@Override public ExpressionList<T> contains(String propertyName, String value) { add(expr.contains(propertyName, value)); return this; }
/** * 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); }
@Override public ExpressionList<T> eq(String propertyName, Object value) { add(expr.eq(propertyName, value)); return this; }
/** * Ends With - property like %value. */ public static Expression endsWith(String propertyName, String value) { return Ebean.getExpressionFactory().endsWith(propertyName, value); }
public Junction<T> conjunction() { Junction<T> conjunction = expr.conjunction(query, this); add(conjunction); return conjunction; }
public Junction<T> disjunction() { Junction<T> disjunction = expr.disjunction(query, this); add(disjunction); return disjunction; }
@Override public ExpressionList<T> exampleLike(Object example) { add(expr.exampleLike(example)); return this; }
/** * Contains - property like %value%. */ public static Expression contains(String propertyName, String value) { return Ebean.getExpressionFactory().contains(propertyName, value); }
@Override public ExpressionList<T> ge(String propertyName, Object value) { add(expr.ge(propertyName, value)); return this; }
public ExpressionList<T> eq(String propertyName, Object value) { add(expr.eq(propertyName, value)); return this; }
/** * Ends With - property like %value. */ public static Expression endsWith(String propertyName, String value) { return Ebean.getExpressionFactory().endsWith(propertyName, value); }
public Junction<T> conjunction() { Junction<T> conjunction = expr.conjunction(query, this); add(conjunction); return conjunction; }
public Junction<T> disjunction() { Junction<T> disjunction = expr.disjunction(query, this); add(disjunction); return disjunction; }
/** * Create the query by Example expression which is case sensitive and using LikeType.RAW (you need to add you own wildcards % and _). */ public static ExampleExpression exampleLike(Object example) { return Ebean.getExpressionFactory().exampleLike(example); }
@Override public ExpressionList<T> allEq(Map<String, Object> propertyMap) { add(expr.allEq(propertyMap)); return this; }
/** * Contains - property like %value%. */ public static Expression contains(String propertyName, String value) { return Ebean.getExpressionFactory().contains(propertyName, value); }