Module org.eclipse.persistence.core
Class AggregateNode
java.lang.Object
org.eclipse.persistence.internal.jpa.parsing.Node
org.eclipse.persistence.internal.jpa.parsing.AggregateNode
- All Implemented Interfaces:
AliasableNode
INTERNAL
Purpose: Superclass for Aggregate Nodes
Responsibilities:
- Apply itself to a query correctly
- Since:
- TopLink 5.0
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Expression
INTERNALgenerateExpression
(GenerationContext context) INTERNAL Return a EclipseLink expression generated using the left nodeboolean
INTERNAL Is this node an Aggregate nodeboolean
INTERNALClass
<?> resolveClass
(GenerationContext context) resolveClass: Answer the class associated with my left node.void
setDistinct
(boolean distinct) boolean
Methods inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
addToExpression, appendExpression, applyToQuery, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validate, validateParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.internal.jpa.parsing.AliasableNode
getAlias, setAlias
-
Constructor Details
-
AggregateNode
public AggregateNode()
-
-
Method Details
-
resolveAttribute
INTERNAL- Overrides:
resolveAttribute
in classNode
-
resolveClass
resolveClass: Answer the class associated with my left node.- Overrides:
resolveClass
in classNode
-
isAggregateNode
public boolean isAggregateNode()INTERNAL Is this node an Aggregate node- Overrides:
isAggregateNode
in classNode
-
usesDistinct
public boolean usesDistinct() -
setDistinct
public void setDistinct(boolean distinct) -
generateExpression
INTERNAL Return a EclipseLink expression generated using the left node- Overrides:
generateExpression
in classNode
-
addAggregateExression
INTERNAL -
isAliasableNode
public boolean isAliasableNode()- Overrides:
isAliasableNode
in classNode
-