Class FetchJoinNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.FetchJoinNode
-
public class FetchJoinNode extends Node
INTERNALPurpose: Represent a FETCH JOIN declaration as part of the FROM clause: FETCH JOIN o.customer.
Responsibilities:
- Manage the path node and the outer join flag of the FETCH JOIN clause.
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description FetchJoinNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodegetPath()booleanisOuterJoin()NodequalifyAttributeAccess(ParseTreeContext context)INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.voidsetOuterJoin(boolean outerJoin)voidsetPath(Node node)voidvalidate(ParseTreeContext context)INTERNAL Validate node and calculate its type.-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, generateExpression, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
-
-
-
Method Detail
-
getPath
public Node getPath()
-
setPath
public void setPath(Node node)
-
isOuterJoin
public boolean isOuterJoin()
-
setOuterJoin
public void setOuterJoin(boolean outerJoin)
-
qualifyAttributeAccess
public Node qualifyAttributeAccess(ParseTreeContext context)
INTERNAL Check the path child node for an unqualified field access and if so, replace it by a qualified field access.- Overrides:
qualifyAttributeAccessin classNode
-
validate
public void validate(ParseTreeContext context)
INTERNAL Validate node and calculate its type.
-
-