public class ComparableExpressionImpl<T> extends ExpressionImpl<T> implements ComparableExpression<T>
| Constructor and Description |
|---|
ComparableExpressionImpl(Class<T> cls,
String name,
ExpressionType type) |
ComparableExpressionImpl(org.datanucleus.query.expression.Expression queryExpr) |
ComparableExpressionImpl(PersistableExpression parent,
String name) |
| Modifier and Type | Method and Description |
|---|---|
OrderExpression |
asc()
Method to return an order expression for this expression in ascending order.
|
OrderExpression |
desc()
Method to return an order expression for this expression in descending order.
|
BooleanExpression |
gt(ComparableExpression 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 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 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 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 |
max()
Method to return a numeric expression representing the aggregated maximum of this expression.
|
NumericExpression |
min()
Method to return a numeric expression representing the aggregated minimum of this expression.
|
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, neclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcast, count, countDistinct, eq, eq, instanceOf, ne, nepublic ComparableExpressionImpl(PersistableExpression parent, String name)
public ComparableExpressionImpl(org.datanucleus.query.expression.Expression queryExpr)
public ComparableExpressionImpl(Class<T> cls, String name, ExpressionType type)
public BooleanExpression gt(ComparableExpression expr)
ComparableExpressiongt in interface ComparableExpression<T>expr - Other expressionpublic BooleanExpression gt(T t)
ComparableExpressiongt in interface ComparableExpression<T>t - literalpublic BooleanExpression gteq(ComparableExpression expr)
ComparableExpressiongteq in interface ComparableExpression<T>expr - Other expressionpublic BooleanExpression gteq(T t)
ComparableExpressiongteq in interface ComparableExpression<T>t - literalpublic BooleanExpression lt(ComparableExpression expr)
ComparableExpressionlt in interface ComparableExpression<T>expr - Other expressionpublic BooleanExpression lt(T t)
ComparableExpressionlt in interface ComparableExpression<T>t - literalpublic BooleanExpression lteq(ComparableExpression expr)
ComparableExpressionlteq in interface ComparableExpression<T>expr - Other expressionpublic BooleanExpression lteq(T t)
ComparableExpressionlteq in interface ComparableExpression<T>t - literalpublic NumericExpression max()
ComparableExpressionmax in interface ComparableExpression<T>public NumericExpression min()
ComparableExpressionmin in interface ComparableExpression<T>public OrderExpression asc()
ComparableExpressionasc in interface ComparableExpression<T>public OrderExpression desc()
ComparableExpressiondesc in interface ComparableExpression<T>Copyright © 2013. All Rights Reserved.