public class MapKeyNode extends Node implements AliasableNode
Purpose: Represent an KEY in EJBQL
Responsibilities:
shouldGenerateExpression
Constructor and Description |
---|
MapKeyNode() |
Modifier and Type | Method and Description |
---|---|
void |
applyToQuery(ObjectLevelReadQuery theQuery,
GenerationContext generationContext)
INTERNAL
Apply this node to the passed query
|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate the a new EclipseLink TableEntryExpression for this node.
|
Node |
getLeftMostNode()
INTERNAL
Return the left most node of a dot expr, so return 'a' for 'a.b.c'.
|
boolean |
isAliasableNode() |
boolean |
isMapKeyNode()
INTERNAL
Is this node a MapKey node
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
addToExpression, appendExpression, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public boolean isMapKeyNode()
isMapKeyNode
in class Node
public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext generationContext)
applyToQuery
in class Node
public Expression generateExpression(GenerationContext context)
generateExpression
in class Node
public Node getLeftMostNode()
public void validate(ParseTreeContext context)
Node
public boolean isAliasableNode()
isAliasableNode
in class Node
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference