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, ne
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
public 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)
ComparableExpression
gt
in interface ComparableExpression<T>
expr
- Other expressionpublic BooleanExpression gt(T t)
ComparableExpression
gt
in interface ComparableExpression<T>
t
- literalpublic BooleanExpression gteq(ComparableExpression expr)
ComparableExpression
gteq
in interface ComparableExpression<T>
expr
- Other expressionpublic BooleanExpression gteq(T t)
ComparableExpression
gteq
in interface ComparableExpression<T>
t
- literalpublic BooleanExpression lt(ComparableExpression expr)
ComparableExpression
lt
in interface ComparableExpression<T>
expr
- Other expressionpublic BooleanExpression lt(T t)
ComparableExpression
lt
in interface ComparableExpression<T>
t
- literalpublic BooleanExpression lteq(ComparableExpression expr)
ComparableExpression
lteq
in interface ComparableExpression<T>
expr
- Other expressionpublic BooleanExpression lteq(T t)
ComparableExpression
lteq
in interface ComparableExpression<T>
t
- literalpublic NumericExpression max()
ComparableExpression
max
in interface ComparableExpression<T>
public NumericExpression min()
ComparableExpression
min
in interface ComparableExpression<T>
public OrderExpression asc()
ComparableExpression
asc
in interface ComparableExpression<T>
public OrderExpression desc()
ComparableExpression
desc
in interface ComparableExpression<T>
Copyright © 2017. All rights reserved.