Purpose: Model a MAX
Responsibilities:
INTERNAL return expr.maximum();
return expr.maximum();
INTERNAL Apply this node to the passed query if (theQuery.isReportQuery()) { ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute(resolveAttribute(), generateExpression(context)); }
if (theQuery.isReportQuery()) { ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute(resolveAttribute(), generateExpression(context)); }
INTERNAL Get the string representation of this node. return "MAX(" + left.getAsString() + ")";
return "MAX(" + left.getAsString() + ")";
INTERNAL Validate node and calculate its type. if (left != null) { left.validate(context); setType(left.getType()); }
if (left != null) { left.validate(context); setType(left.getType()); }