Module org.eclipse.persistence.core
Class EmptyCollectionComparisonNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.SimpleConditionalExpressionNode
org.eclipse.persistence.internal.jpa.parsing.EmptyCollectionComparisonNode
INTERNAL
Purpose: Used for the EMPTY collection handling
Responsibilities:
- Generate the correct expression for an IS EMPTY in EJBQL
- Since:
- August 2003
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
Constructor Summary
ConstructorDescriptionEmptyCollectionComparisonNode constructor comment. -
Method Summary
Modifier and TypeMethodDescriptiongenerateExpression
(GenerationContext context) INTERNAL Return a EclipseLink expression for this node.void
INTERNAL Indicate if a NOT was found in the WHERE clause.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, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
-
Field Details
-
notIndicated
public boolean notIndicated
-
-
Constructor Details
-
EmptyCollectionComparisonNode
public EmptyCollectionComparisonNode()EmptyCollectionComparisonNode constructor comment.
-
-
Method Details
-
validate
INTERNAL Validate node and calculate its type. -
generateExpression
INTERNAL Return a EclipseLink expression for this node.- Overrides:
generateExpression
in classNode
-
indicateNot
public void indicateNot()INTERNAL Indicate if a NOT was found in the WHERE clause. Examples: ...WHERE emp.phoneNumbers IS NOT EMPTY
-