|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jdo.query.ExpressionImpl<T>
org.datanucleus.jdo.query.ComparableExpressionImpl<T>
public class ComparableExpressionImpl<T>
Implementation of the methods for ComparableExpression.
| Constructor Summary | |
|---|---|
ComparableExpressionImpl(java.lang.Class<T> cls,
java.lang.String name,
ExpressionType type)
|
|
ComparableExpressionImpl(Expression queryExpr)
|
|
ComparableExpressionImpl(PersistableExpression parent,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.datanucleus.jdo.query.ExpressionImpl |
|---|
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.datanucleus.query.typesafe.Expression |
|---|
cast, count, countDistinct, eq, eq, instanceOf, ne, ne |
| Constructor Detail |
|---|
public ComparableExpressionImpl(PersistableExpression parent,
java.lang.String name)
public ComparableExpressionImpl(Expression queryExpr)
public ComparableExpressionImpl(java.lang.Class<T> cls,
java.lang.String name,
ExpressionType type)
| Method Detail |
|---|
public BooleanExpression gt(ComparableExpression expr)
ComparableExpression
gt in interface ComparableExpression<T>expr - Other expression
public BooleanExpression gt(T t)
ComparableExpression
gt in interface ComparableExpression<T>t - literal
public BooleanExpression gteq(ComparableExpression expr)
ComparableExpression
gteq in interface ComparableExpression<T>expr - Other expression
public BooleanExpression gteq(T t)
ComparableExpression
gteq in interface ComparableExpression<T>t - literal
public BooleanExpression lt(ComparableExpression expr)
ComparableExpression
lt in interface ComparableExpression<T>expr - Other expression
public BooleanExpression lt(T t)
ComparableExpression
lt in interface ComparableExpression<T>t - literal
public BooleanExpression lteq(ComparableExpression expr)
ComparableExpression
lteq in interface ComparableExpression<T>expr - Other expression
public BooleanExpression lteq(T t)
ComparableExpression
lteq in interface ComparableExpression<T>t - literal
public 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>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||