public class MaxNode extends AggregateNode
Purpose: Model a MAX
Responsibilities:
left, right, shouldGenerateExpression
Constructor and Description |
---|
MaxNode() |
Modifier and Type | Method and Description |
---|---|
protected Expression |
addAggregateExression(Expression expr)
INTERNAL
|
void |
applyToQuery(ObjectLevelReadQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query
|
String |
getAsString()
INTERNAL
Get the string representation of this node.
|
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
generateExpression, isAggregateNode, resolveAttribute, resolveClass, setDistinct, usesDistinct
addToExpression, appendExpression, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveClass, resolveMapping, resolveMapping, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
applyToQuery
in class Node
public void validate(ParseTreeContext context)
protected Expression addAggregateExression(Expression expr)
addAggregateExression
in class AggregateNode
public String getAsString()
getAsString
in class Node
Copyright © 2022. All rights reserved.