T - expression typepublic abstract class ComparableExpression<T extends Comparable> extends ComparableExpressionBase<T>
ComparableExpressionBase to provide comparison methods.hashCode, mixin| Constructor and Description |
|---|
ComparableExpression(Expression<T> mixin) |
| Modifier and Type | Method and Description |
|---|---|
ComparableExpression<T> |
as(Path<T> alias)
Create an alias for the expression
|
ComparableExpression<T> |
as(String alias)
Create an alias for the expression
|
BooleanExpression |
between(Expression<T> from,
Expression<T> to)
Get a
from <= this <= to expression |
BooleanExpression |
between(T from,
T to)
Get a
from <= this <= to expression |
BooleanExpression |
goe(Expression<T> right)
Get a
this >= right expression |
BooleanExpression |
goe(T right)
Get a
this >= right expression |
BooleanExpression |
goeAll(CollectionExpression<?,? super T> right) |
BooleanExpression |
goeAny(CollectionExpression<?,? super T> right) |
BooleanExpression |
gt(Expression<T> right)
Get a
this > right expression |
BooleanExpression |
gt(T right)
Get a
this > right expression |
BooleanExpression |
gtAll(CollectionExpression<?,? super T> right) |
BooleanExpression |
gtAny(CollectionExpression<?,? super T> right) |
BooleanExpression |
loe(Expression<T> right)
Get a
this <= right expression |
BooleanExpression |
loe(T right)
Get a
this <= right expression |
BooleanExpression |
loeAll(CollectionExpression<?,? super T> right) |
BooleanExpression |
loeAny(CollectionExpression<?,? super T> right) |
BooleanExpression |
lt(Expression<T> right)
Get a
this < right expression |
BooleanExpression |
lt(T right)
Get a
this < right expression |
BooleanExpression |
ltAll(CollectionExpression<?,? super T> right) |
BooleanExpression |
ltAny(CollectionExpression<?,? super T> right) |
BooleanExpression |
notBetween(Expression<T> from,
Expression<T> to)
Get a
this not between from and to expression |
BooleanExpression |
notBetween(T from,
T to)
Get a
this not between from and to expression |
asc, castToNum, coalesce, coalesce, desc, stringValuecount, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitacceptpublic ComparableExpression(Expression<T> mixin)
public ComparableExpression<T> as(Path<T> alias)
SimpleExpressionas in class SimpleExpression<T extends Comparable>public ComparableExpression<T> as(String alias)
SimpleExpressionas in class SimpleExpression<T extends Comparable>public final BooleanExpression between(@Nullable T from, @Nullable T to)
from <= this <= to expressionfrom - to - public final BooleanExpression between(@Nullable Expression<T> from, @Nullable Expression<T> to)
from <= this <= to expressionfrom - to - public final BooleanExpression notBetween(T from, T to)
this not between from and to expressionfrom - to - public final BooleanExpression notBetween(Expression<T> from, Expression<T> to)
this not between from and to expressionfrom - to - public BooleanExpression gt(T right)
this > right expressionright - rhs of the comparisonComparable.compareTo(Object)public BooleanExpression gt(Expression<T> right)
this > right expressionright - rhs of the comparisonComparable.compareTo(Object)public BooleanExpression gtAll(CollectionExpression<?,? super T> right)
right - public BooleanExpression gtAny(CollectionExpression<?,? super T> right)
right - public BooleanExpression goe(T right)
this >= right expressionright - rhs of the comparisonComparable.compareTo(Object)public BooleanExpression goe(Expression<T> right)
this >= right expressionright - rhs of the comparisonComparable.compareTo(Object)public BooleanExpression goeAll(CollectionExpression<?,? super T> right)
right - public BooleanExpression goeAny(CollectionExpression<?,? super T> right)
right - public final BooleanExpression lt(T right)
this < right expressionright - rhs of the comparisonComparable.compareTo(Object)public final BooleanExpression lt(Expression<T> right)
this < right expressionright - rhs of the comparisonComparable.compareTo(Object)public BooleanExpression ltAll(CollectionExpression<?,? super T> right)
right - public BooleanExpression ltAny(CollectionExpression<?,? super T> right)
right - public final BooleanExpression loe(T right)
this <= right expressionright - rhs of the comparisonComparable.compareTo(Object)public final BooleanExpression loe(Expression<T> right)
this <= right expressionright - rhs of the comparisonComparable.compareTo(Object)public BooleanExpression loeAll(CollectionExpression<?,? super T> right)
right - public BooleanExpression loeAny(CollectionExpression<?,? super T> right)
right - Copyright © 2007–2015 Querydsl. All rights reserved.