T - expression typepublic abstract class ComparableExpression<T extends java.lang.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(java.lang.String alias)
Create an alias for the expression
|
BooleanExpression |
between(@Nullable Expression<T> from,
@Nullable 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 |
ComparableExpression<T> |
coalesce(Expression<?>... exprs)
Create a
coalesce(this, exprs...) expression |
ComparableExpression<T> |
coalesce(Expression<T> expr)
Create a
coalesce(this, expr) expression |
ComparableExpression<T> |
coalesce(T... args)
Create a
coalesce(this, args...) expression |
ComparableExpression<T> |
coalesce(T arg)
Create a
coalesce(this, arg) 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 |
ComparableExpression<T> |
max()
Create a
max(this) expression |
ComparableExpression<T> |
min()
Create a
min(this) 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 |
ComparableExpression<T> |
nullif(Expression<T> other)
Create a
nullif(this, other) expression |
ComparableExpression<T> |
nullif(T other)
Create a
nullif(this, other) expression |
asc, desccount, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, 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 java.lang.Comparable>public ComparableExpression<T> as(java.lang.String alias)
SimpleExpressionas in class SimpleExpression<T extends java.lang.Comparable>public 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 BooleanExpression between(@Nullable @Nullable Expression<T> from, @Nullable @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 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 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 BooleanExpression lt(T right)
this < right expressionright - rhs of the comparisonComparable.compareTo(Object)public 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 BooleanExpression loe(T right)
this <= right expressionright - rhs of the comparisonComparable.compareTo(Object)public 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 comparisonpublic ComparableExpression<T> min()
min(this) expression
Get the minimum value of this expression (aggregation)
min in class ComparableExpressionBase<T extends java.lang.Comparable>public ComparableExpression<T> max()
max(this) expression
Get the maximum value of this expression (aggregation)
max in class ComparableExpressionBase<T extends java.lang.Comparable>public ComparableExpression<T> nullif(Expression<T> other)
nullif(this, other) expressionnullif in class ComparableExpressionBase<T extends java.lang.Comparable>other - public ComparableExpression<T> nullif(T other)
nullif(this, other) expressionnullif in class ComparableExpressionBase<T extends java.lang.Comparable>other - public ComparableExpression<T> coalesce(Expression<T> expr)
coalesce(this, expr) expressioncoalesce in class ComparableExpressionBase<T extends java.lang.Comparable>expr - additional argumentpublic ComparableExpression<T> coalesce(Expression<?>... exprs)
coalesce(this, exprs...) expressioncoalesce in class ComparableExpressionBase<T extends java.lang.Comparable>exprs - additional argumentspublic ComparableExpression<T> coalesce(T arg)
coalesce(this, arg) expressioncoalesce in class ComparableExpressionBase<T extends java.lang.Comparable>arg - additional argumentpublic ComparableExpression<T> coalesce(T... args)
coalesce(this, args...) expressioncoalesce in class ComparableExpressionBase<T extends java.lang.Comparable>args - additional argumentsCopyright © 2007–2021 Querydsl. All rights reserved.