public class AvgNode extends AggregateNode
Purpose: Model a AVG
Responsibilities:
shouldGenerateExpression
Constructor and Description |
---|
AvgNode() |
Modifier and Type | Method and Description |
---|---|
void |
applyToQuery(ObjectLevelReadQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query
|
java.lang.String |
getAsString()
INTERNAL
Get the string representation of this node.
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
generateExpression, isAggregateNode, isAliasableNode, resolveAttribute, resolveClass, setDistinct, usesDistinct
addToExpression, appendExpression, getAlias, 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, validateParameter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, setAlias
public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
applyToQuery
in class Node
public void validate(ParseTreeContext context)
public java.lang.String getAsString()
getAsString
in class Node
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference