Class AggregateNode
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.parsing.Node
-
- org.eclipse.persistence.internal.jpa.parsing.AggregateNode
-
- All Implemented Interfaces:
AliasableNode
public abstract class AggregateNode extends Node implements AliasableNode
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.parsing.Node
alias, left, right, shouldGenerateExpression
-
-
Constructor Summary
Constructors Constructor Description AggregateNode()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ExpressionaddAggregateExression(Expression expr)INTERNALExpressiongenerateExpression(GenerationContext context)INTERNAL Return a EclipseLink expression generated using the left nodebooleanisAggregateNode()INTERNAL Is this node an Aggregate nodebooleanisAliasableNode()java.lang.StringresolveAttribute()INTERNALjava.lang.ClassresolveClass(GenerationContext context)resolveClass: Answer the class associated with my left node.voidsetDistinct(boolean distinct)booleanusesDistinct()-
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
-
-
-
-
Method Detail
-
resolveAttribute
public java.lang.String resolveAttribute()
INTERNAL- Overrides:
resolveAttributein classNode
-
resolveClass
public java.lang.Class resolveClass(GenerationContext context)
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
public Expression generateExpression(GenerationContext context)
INTERNAL Return a EclipseLink expression generated using the left node- Overrides:
generateExpressionin classNode
-
addAggregateExression
protected abstract Expression addAggregateExression(Expression expr)
INTERNAL
-
isAliasableNode
public boolean isAliasableNode()
- Overrides:
isAliasableNodein classNode
-
-