T
- expression typepublic abstract class ComparableExpression<T extends Comparable> extends ComparableExpressionBase<T>
ComparableExpression
extends 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)
Create a
this between from and to expression |
BooleanExpression |
between(T from,
T to)
Create a
this between from and to expression |
BooleanExpression |
goe(Expression<T> right)
Create a
this >= right expression |
BooleanExpression |
goe(T right)
Create a
this >= right expression |
BooleanExpression |
goeAll(CollectionExpression<?,? super T> right)
Create a
this >= all right expression |
BooleanExpression |
goeAll(SubQueryExpression<? extends T> right)
Create a
this >= all right expression |
BooleanExpression |
goeAny(CollectionExpression<?,? super T> right)
Create a
this >= any right expression |
BooleanExpression |
goeAny(SubQueryExpression<? extends T> right)
Create a
this >= any right expression |
BooleanExpression |
gt(Expression<T> right)
Create a
this > right expression |
BooleanExpression |
gt(T right)
Create a
this > right expression |
BooleanExpression |
gtAll(CollectionExpression<?,? super T> right)
Create a
this > all right expression |
BooleanExpression |
gtAll(SubQueryExpression<? extends T> right)
Create a
this > all right expression |
BooleanExpression |
gtAny(CollectionExpression<?,? super T> right)
Create a
this > any right expression |
BooleanExpression |
gtAny(SubQueryExpression<? extends T> right)
Create a
this > any right expression |
BooleanExpression |
loe(Expression<T> right)
Create a
this <= right expression |
BooleanExpression |
loe(T right)
Create a
this <= right expression |
BooleanExpression |
loeAll(CollectionExpression<?,? super T> right)
Create a
this <= all right expression |
BooleanExpression |
loeAll(SubQueryExpression<? extends T> right)
Create a
this <= all right expression |
BooleanExpression |
loeAny(CollectionExpression<?,? super T> right)
Create a
this <= any right expression |
BooleanExpression |
loeAny(SubQueryExpression<? extends T> right)
Create a
this <= any right expression |
BooleanExpression |
lt(Expression<T> right)
Create a
this < right expression |
BooleanExpression |
lt(T right)
Create a
this < right expression |
BooleanExpression |
ltAll(CollectionExpression<?,? super T> right)
Create a
this < all right expression |
BooleanExpression |
ltAll(SubQueryExpression<? extends T> right)
Create a
this < all right expression |
BooleanExpression |
ltAny(CollectionExpression<?,? super T> right)
Create a
this < any right expression |
BooleanExpression |
ltAny(SubQueryExpression<? extends T> right)
Create a
this < any right expression |
BooleanExpression |
notBetween(Expression<T> from,
Expression<T> to)
Create a
this not between from and to expression |
BooleanExpression |
notBetween(T from,
T to)
Create a
this not between from and to expression |
asc, coalesce, coalesce, desc
count, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, when
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public ComparableExpression(Expression<T> mixin)
public ComparableExpression<T> as(Path<T> alias)
SimpleExpression
as
in class SimpleExpression<T extends Comparable>
public ComparableExpression<T> as(String alias)
SimpleExpression
as
in class SimpleExpression<T extends Comparable>
public final BooleanExpression between(@Nullable T from, @Nullable T to)
this between from and to
expression
Is equivalent to from <= this <= to
from
- inclusive start of rangeto
- inclusive end of rangepublic final BooleanExpression between(@Nullable Expression<T> from, @Nullable Expression<T> to)
this between from and to
expression
Is equivalent to from <= this <= to
from
- inclusive start of rangeto
- inclusive end of rangepublic final BooleanExpression notBetween(T from, T to)
this not between from and to
expression
Is equivalent to this < from || this > to
from
- inclusive start of rangeto
- inclusive end of rangepublic final BooleanExpression notBetween(Expression<T> from, Expression<T> to)
this not between from and to
expression
Is equivalent to this < from || this > to
from
- inclusive start of rangeto
- inclusive end of rangepublic 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)
this > all right
expressionright
- rhs of the comparisonpublic BooleanExpression gtAny(CollectionExpression<?,? super T> right)
this > any right
expressionright
- rhs of the comparisonpublic BooleanExpression gtAll(SubQueryExpression<? extends T> right)
this > all right
expressionright
- rhs of the comparisonpublic BooleanExpression gtAny(SubQueryExpression<? extends T> right)
this > any right
expressionright
- rhs of the comparisonpublic 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)
this >= all right
expressionright
- rhs of the comparisonpublic BooleanExpression goeAny(CollectionExpression<?,? super T> right)
this >= any right
expressionright
- rhs of the comparisonpublic BooleanExpression goeAll(SubQueryExpression<? extends T> right)
this >= all right
expressionright
- rhs of the comparisonpublic BooleanExpression goeAny(SubQueryExpression<? extends T> right)
this >= any right
expressionright
- rhs of the comparisonpublic 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)
this < all right
expressionright
- rhs of the comparisonpublic BooleanExpression ltAny(CollectionExpression<?,? super T> right)
this < any right
expressionright
- rhs of the comparisonpublic BooleanExpression ltAll(SubQueryExpression<? extends T> right)
this < all right
expressionright
- rhs of the comparisonpublic BooleanExpression ltAny(SubQueryExpression<? extends T> right)
this < any right
expressionright
- rhs of the comparisonpublic 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)
this <= all right
expressionright
- rhs of the comparisonpublic BooleanExpression loeAny(CollectionExpression<?,? super T> right)
this <= any right
expressionright
- rhs of the comparisonpublic BooleanExpression loeAll(SubQueryExpression<? extends T> right)
this <= all right
expressionright
- rhs of the comparisonpublic BooleanExpression loeAny(SubQueryExpression<? extends T> right)
this <= any right
expressionright
- rhs of the comparisonCopyright © 2007–2016 Querydsl. All rights reserved.