T - Java type being represented herepublic interface ComparableExpression<T> extends Expression<T>
NumericExpression param = (NumericExpression)tq.parameter("criticalValue", Double.class);
tq.filter(cand.value.lt(param));
and we would have had to cast the parameter to NumericExpression| Modifier and Type | Method and Description |
|---|---|
OrderExpression<T> |
asc()
Method to return an order expression for this expression in ascending order.
|
OrderExpression<T> |
desc()
Method to return an order expression for this expression in descending order.
|
BooleanExpression |
gt(ComparableExpression<T> expr)
Method returning whether this expression is greater than the other expression.
|
BooleanExpression |
gt(T t)
Method returning whether this expression is greater than the literal.
|
BooleanExpression |
gteq(ComparableExpression<T> expr)
Method returning whether this expression is greater than or equal the other expression.
|
BooleanExpression |
gteq(T t)
Method returning whether this expression is greater than or equal the literal.
|
BooleanExpression |
lt(ComparableExpression<T> expr)
Method returning whether this expression is less than the other expression.
|
BooleanExpression |
lt(T t)
Method returning whether this expression is less than the literal.
|
BooleanExpression |
lteq(ComparableExpression<T> expr)
Method returning whether this expression is less than or equal the other expression.
|
BooleanExpression |
lteq(T t)
Method returning whether this expression is less than or equal the literal.
|
NumericExpression<T> |
max()
Method to return a numeric expression representing the aggregated maximum of this expression.
|
NumericExpression<T> |
min()
Method to return a numeric expression representing the aggregated minimum of this expression.
|
cast, count, countDistinct, eq, eq, instanceOf, ne, neBooleanExpression lt(ComparableExpression<T> expr)
expr - Other expressionBooleanExpression lt(T t)
t - literalBooleanExpression lteq(ComparableExpression<T> expr)
expr - Other expressionBooleanExpression lteq(T t)
t - literalBooleanExpression gt(ComparableExpression<T> expr)
expr - Other expressionBooleanExpression gt(T t)
t - literalBooleanExpression gteq(ComparableExpression<T> expr)
expr - Other expressionBooleanExpression gteq(T t)
t - literalNumericExpression<T> min()
NumericExpression<T> max()
OrderExpression<T> asc()
OrderExpression<T> desc()
Copyright © 2018. All rights reserved.