public enum NodeType extends Enum<NodeType>
Enum Constant and Description |
---|
ARRAY
cast node type
|
CASE
"primary" node type where we have something like an OPERATOR being passed to INVOKE.
|
CAST
parameter node type
|
CLASS
operator node type.
|
CREATOR
operator node type.
|
IDENTIFIER
type name node type.
|
INVOKE
literal node type
|
LITERAL |
NAME
invoke node type.
|
OPERATOR
identifier node type
|
PARAMETER
class node type (e.g use in a "from" clause for a candidate).
|
PRIMARY
"type" node type (JPQL, like "instanceof"
|
SUBQUERY
array node type
|
TYPE
subquery node type (EXISTS, ANY, SOME, ALL, etc)
|
Modifier and Type | Method and Description |
---|---|
static NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeType LITERAL
public static final NodeType INVOKE
public static final NodeType NAME
public static final NodeType IDENTIFIER
public static final NodeType OPERATOR
public static final NodeType CREATOR
public static final NodeType CLASS
public static final NodeType PARAMETER
public static final NodeType CAST
public static final NodeType ARRAY
public static final NodeType SUBQUERY
public static final NodeType TYPE
public static final NodeType PRIMARY
public static final NodeType CASE
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.