Class ExistsNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.ExistsNode
-
public class ExistsNode extends Node
INTERNALPurpose: Represent an EXISTS subquery.
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description ExistsNode()Return a new ExistsNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongenerateExpression(GenerationContext context)INTERNAL Generate the EclipseLink expression for this nodevoidindicateNot()INTERNAL Indicate if a NOT was found in the WHERE clause.booleannotIndicated()voidvalidate(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, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
-
-
-
Method Detail
-
validate
public void validate(ParseTreeContext context)
INTERNAL Validate node and calculate its type. Change subquery SELECT clause.
-
generateExpression
public Expression generateExpression(GenerationContext context)
INTERNAL Generate the EclipseLink expression for this node- Overrides:
generateExpressionin classNode
-
indicateNot
public void indicateNot()
INTERNAL Indicate if a NOT was found in the WHERE clause. Examples: WHERE ... NOT EXISTS(...)
-
notIndicated
public boolean notIndicated()
-
-