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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ExpressionINTERNALgenerateExpression(GenerationContext context) INTERNAL Return a EclipseLink expression generated using the left nodebooleanINTERNAL Is this node an Aggregate nodebooleanINTERNALClass<?> resolveClass(GenerationContext context) resolveClass: Answer the class associated with my left node.voidsetDistinct(boolean distinct) booleanMethods 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, validateParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.persistence.internal.jpa.parsing.AliasableNode
getAlias, setAlias
-
Constructor Details
-
AggregateNode
public AggregateNode()
-
-
Method Details
-
resolveAttribute
INTERNAL- Overrides:
resolveAttributein classNode
-
resolveClass
resolveClass: Answer the class associated with my left node.- Overrides:
resolveClassin classNode
-
isAggregateNode
public boolean isAggregateNode()INTERNAL Is this node an Aggregate node- Overrides:
isAggregateNodein classNode
-
usesDistinct
public boolean usesDistinct() -
setDistinct
public void setDistinct(boolean distinct) -
generateExpression
INTERNAL Return a EclipseLink expression generated using the left node- Overrides:
generateExpressionin classNode
-
addAggregateExression
INTERNAL -
isAliasableNode
public boolean isAliasableNode()- Overrides:
isAliasableNodein classNode
-