Enum NodeType
- All Implemented Interfaces:
Serializable
,Comparable<NodeType>
Enum of node types.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncast node type"primary" node type where we have something like an OPERATOR being passed to INVOKE.parameter node typeoperator node type.operator node type.type name node type.literal node typeinvoke node type.identifier node typeclass node type (e.g use in a "from" clause for a candidate)."type" node type (JPQL, like "instanceof"array node typesubquery node type (EXISTS, ANY, SOME, ALL, etc) -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
LITERAL
-
INVOKE
literal node type -
NAME
invoke node type. Such as method/function invocation. -
IDENTIFIER
type name node type. Used for aliases in from clause. -
OPERATOR
identifier node type -
CREATOR
operator node type. -
CLASS
operator node type. -
PARAMETER
class node type (e.g use in a "from" clause for a candidate). -
CAST
parameter node type -
ARRAY
cast node type -
SUBQUERY
array node type -
TYPE
subquery node type (EXISTS, ANY, SOME, ALL, etc) -
PRIMARY
"type" node type (JPQL, like "instanceof" -
CASE
"primary" node type where we have something like an OPERATOR being passed to INVOKE.
-
-
Constructor Details
-
NodeType
private NodeType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-