Class HavingNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.MajorNode
-
- org.eclipse.persistence.internal.jpa.parsing.HavingNode
-
public class HavingNode extends MajorNode
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description HavingNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHavingToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
INTERNAL Add the having expression to the passed queryNode
getHaving()
INTERNAL Return the HAVING expressionvoid
setHaving(Node having)
INTERNAL Set the HAVING expressionvoid
validate(ParseTreeContext context, GroupByNode groupbyNode)
INTERNAL Validate the current node.-
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.MajorNode
getContext, setContext
-
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, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validate, validateParameter
-
-
-
-
Method Detail
-
validate
public void validate(ParseTreeContext context, GroupByNode groupbyNode)
INTERNAL Validate the current node.
-
addHavingToQuery
public void addHavingToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
INTERNAL Add the having expression to the passed query
-
getHaving
public Node getHaving()
INTERNAL Return the HAVING expression
-
setHaving
public void setHaving(Node having)
INTERNAL Set the HAVING expression
-
-