|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ExpressionKind>
org.apache.olingo.odata2.api.uri.expression.ExpressionKind
public enum ExpressionKind
Enumeration describing all possible node types inside an expression tree
Enum Constant Summary | |
---|---|
BINARY
Binary operator expressions like "eq" and "or" |
|
FILTER
Used to mark the root node of a filter expression tree |
|
LITERAL
Literal expressions like "1.1d" or "'This is a string'" |
|
MEMBER
Member access expressions like "/" in "adress/street" |
|
METHOD
Method operator expressions like "substringof" and "concat" |
|
ORDER
Order expressions like "age desc" |
|
ORDERBY
Orderby expression like "age desc, name asc" |
|
PROPERTY
Property expressions like "age" |
|
UNARY
Unary operator expressions like "not" and "-" |
Method Summary | |
---|---|
static ExpressionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExpressionKind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExpressionKind FILTER
FilterExpression
public static final ExpressionKind LITERAL
LiteralExpression
public static final ExpressionKind UNARY
UnaryExpression
public static final ExpressionKind BINARY
BinaryExpression
public static final ExpressionKind METHOD
MethodExpression
public static final ExpressionKind MEMBER
MemberExpression
public static final ExpressionKind PROPERTY
PropertyExpression
public static final ExpressionKind ORDER
OrderExpression
public static final ExpressionKind ORDERBY
OrderByExpression
Method Detail |
---|
public static ExpressionKind[] values()
for (ExpressionKind c : ExpressionKind.values()) System.out.println(c);
public static ExpressionKind valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |