Enum Class ExpressionKind
- All Implemented Interfaces:
Serializable,Comparable<ExpressionKind>,Constable
Enumeration describing all possible node types inside an expression tree
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBinary operator expressions like "eq" and "or"Used to mark the root node of a filter expression treeLiteral expressions like "1.1d" or "'This is a string'"Member access expressions like "/" in "adress/street"Method operator expressions like "substringof" and "concat"Order expressions like "age desc"Orderby expression like "age desc, name asc"Property expressions like "age"Unary operator expressions like "not" and "-" -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionKindReturns the enum constant of this class with the specified name.static ExpressionKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILTER
Used to mark the root node of a filter expression tree- See Also:
-
LITERAL
Literal expressions like "1.1d" or "'This is a string'"- See Also:
-
UNARY
Unary operator expressions like "not" and "-"- See Also:
-
BINARY
Binary operator expressions like "eq" and "or"- See Also:
-
METHOD
Method operator expressions like "substringof" and "concat"- See Also:
-
MEMBER
Member access expressions like "/" in "adress/street"- See Also:
-
PROPERTY
Property expressions like "age"- See Also:
-
ORDER
Order expressions like "age desc"- See Also:
-
ORDERBY
Orderby expression like "age desc, name asc"- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-