/** * Get a {@code this >= right} expression * * @param right rhs of the comparison * @return * @see java.lang.Comparable#compareTo(Object) */ public BooleanExpression goe(T right) { return goe(ConstantImpl.create(right)); }
/** * @param right * @return */ public BooleanExpression gtAny(CollectionExpression<?, ? super T> right) { return gt(ExpressionUtils.<T>any(right)); }
/** * @param right * @return */ public BooleanExpression loeAny(CollectionExpression<?, ? super T> right) { return loe(ExpressionUtils.<T>any(right)); }
@Test public void BeforeAndAfter() throws RecognitionException, TokenStreamException { ComparableExpression<java.util.Date> ed = catalog.effectiveDate; query() .from(catalog) .where( ed.gt(DateExpression.currentDate()), ed.goe(DateExpression.currentDate()), ed.lt(DateExpression.currentDate()), ed.loe(DateExpression.currentDate())) .select(catalog).parse(); }
/** * @param right * @return */ public BooleanExpression ltAny(CollectionExpression<?, ? super T> right) { return lt(ExpressionUtils.<T>any(right)); }
public OrderSpecifier<T> desc() { return getValue().desc(); }
public OrderSpecifier<T> asc() { return getValue().asc(); }
/** * Get a {@code this not between from and to} expression * * @param from * @param to * @return */ public final BooleanExpression notBetween(Expression<T> from, Expression<T> to) { return between(from, to).not(); }
@Override public <R,C> R accept(Visitor<R,C> v, C context) { return getValue().accept(v, context); }
/** * @param right * @return */ public BooleanExpression ltAll(CollectionExpression<?, ? super T> right) { return lt(ExpressionUtils.<T>all(right)); }
/** * Get a {@code this not between from and to} expression * * @param from * @param to * @return */ public final BooleanExpression notBetween(T from, T to) { return between(from, to).not(); }
/** * @param right * @return */ public BooleanExpression gtAll(CollectionExpression<?, ? super T> right) { return gt(ExpressionUtils.<T>all(right)); }
/** * Get a {@code this < right} expression * * @param right rhs of the comparison * @return * @see java.lang.Comparable#compareTo(Object) */ public final BooleanExpression lt(T right) { return lt(ConstantImpl.create(right)); }
/** * @param right * @return */ public BooleanExpression goeAll(CollectionExpression<?, ? super T> right) { return goe(ExpressionUtils.<T>all(right)); }
/** * @param right * @return */ public BooleanExpression loeAll(CollectionExpression<?, ? super T> right) { return loe(ExpressionUtils.<T>all(right)); }
/** * Get a {@code this > right} expression * * @param right rhs of the comparison * @return * @see java.lang.Comparable#compareTo(Object) */ public BooleanExpression gt(T right) { return gt(ConstantImpl.create(right)); }
/** * @param right * @return */ public BooleanExpression goeAny(CollectionExpression<?, ? super T> right) { return goe(ExpressionUtils.<T>any(right)); }