|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Java type being represented herepublic interface Expression<T>
Representation of an expression in a query.
| Method Summary | |
|---|---|
Expression |
cast(Class cls)
Return an expression where this expression is cast to the specified type. |
NumericExpression<Long> |
count()
Method to return a numeric expression representing the aggregated count of this expression. |
NumericExpression<Long> |
countDistinct()
Method to return a numeric expression representing the aggregated (distinct) count of this expression. |
BooleanExpression |
eq(Expression expr)
Method returning whether this expression equals the other expression. |
BooleanExpression |
eq(T t)
Method returning whether this expression equals the literal. |
BooleanExpression |
instanceOf(Class cls)
Return an expression for whether this expression is an instanceof the supplied class. |
BooleanExpression |
ne(Expression expr)
Method returning whether this expression doesn't equal the other expression. |
BooleanExpression |
ne(T t)
Method returning whether this expression doesn't equal the literal. |
| Method Detail |
|---|
BooleanExpression eq(Expression expr)
expr - Other expression
BooleanExpression eq(T t)
t - Literal
BooleanExpression ne(Expression expr)
expr - Other expression
BooleanExpression ne(T t)
t - literal
NumericExpression<Long> count()
NumericExpression<Long> countDistinct()
BooleanExpression instanceOf(Class cls)
cls - Class to check against
Expression cast(Class cls)
cls - Class to cast to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||