T - Java type being represented herepublic interface Expression<T>
| Modifier and Type | Method and Description |
|---|---|
Expression |
as(String alias)
Method to return an expression with the specified alias assigned to this expression.
|
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.
|
BooleanExpression eq(Expression expr)
expr - Other expressionBooleanExpression eq(T t)
t - LiteralBooleanExpression ne(Expression expr)
expr - Other expressionBooleanExpression ne(T t)
t - literalNumericExpression<Long> count()
NumericExpression<Long> countDistinct()
BooleanExpression instanceOf(Class cls)
cls - Class to check againstExpression cast(Class cls)
cls - Class to cast toExpression as(String alias)
alias - the alias for this expressionCopyright © 2005–1970 Apache Software Foundation. All rights reserved.