T
- expression typepublic abstract class EnumExpression<T extends Enum<T>> extends LiteralExpression<T>
EnumExpression
represents Enum typed expressionshashCode, mixin
Constructor and Description |
---|
EnumExpression(Expression<T> mixin) |
Modifier and Type | Method and Description |
---|---|
EnumExpression<T> |
as(Path<T> alias)
Create an alias for the expression
|
EnumExpression<T> |
as(String alias)
Create an alias for the expression
|
NumberExpression<Integer> |
ordinal()
Get the ordinal of this enum
|
castToNum, stringValue
between, between, goe, goe, goeAll, goeAll, goeAny, goeAny, gt, gt, gtAll, gtAll, gtAny, gtAny, loe, loe, loeAll, loeAll, loeAny, loeAny, lt, lt, ltAll, ltAll, ltAny, ltAny, notBetween, notBetween
asc, coalesce, coalesce, desc
count, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, when
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public EnumExpression(Expression<T> mixin)
public EnumExpression<T> as(Path<T> alias)
SimpleExpression
as
in class ComparableExpression<T extends Enum<T>>
public EnumExpression<T> as(String alias)
SimpleExpression
as
in class ComparableExpression<T extends Enum<T>>
public NumberExpression<Integer> ordinal()
Copyright © 2007–2016 Querydsl. All rights reserved.