Interface EnumExpression<T>
- Type Parameters:
T- Enum type
- All Superinterfaces:
ComparableExpression<Enum>, Expression<Enum>
Representation of an Enum in a query.
-
Method Summary
Modifier and TypeMethodDescriptionordinal()Method to return an expression for the ordinal of this enum.Methods inherited from interface ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, minMethods inherited from interface Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
Method Details
-
ordinal
NumericExpression ordinal()Method to return an expression for the ordinal of this enum.- Returns:
- Expression for the ordinal of the passed enum
-