Module org.eclipse.persistence.core
Class SubqueryNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.SubqueryNode
INTERNAL
Purpose: Represent a subquery.
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateExpression
(GenerationContext context) INTERNAL Generate the EclipseLink expression for this nodegetReportQuery
(GenerationContext context) boolean
INTERNAL Is this node a SubqueryNodequalifyAttributeAccess
(ParseTreeContext context) INTERNAL If called the subquery is part of the WHERE clause of an UPDATE or DELETE statement that does not define an identification variable.void
setParseTree
(JPQLParseTree parseTree) void
validate
(ParseTreeContext context) INTERNAL Validate node and calculate its type.Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isVariableNode, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
Constructor Details
-
SubqueryNode
public SubqueryNode()Return a new SubqueryNode.
-
-
Method Details
-
getReportQuery
-
qualifyAttributeAccess
INTERNAL If called the subquery is part of the WHERE clause of an UPDATE or DELETE statement that does not define an identification variable. The method checks the clauses of the subquery for unqualified fields accesses.- Overrides:
qualifyAttributeAccess
in classNode
-
validate
INTERNAL Validate node and calculate its type. -
generateExpression
INTERNAL Generate the EclipseLink expression for this node- Overrides:
generateExpression
in classNode
-
isSubqueryNode
public boolean isSubqueryNode()INTERNAL Is this node a SubqueryNode- Overrides:
isSubqueryNode
in classNode
-
setParseTree
-
getParseTree
-