Purpose: Model a MIN
Responsibilities:
INTERNAL return expr.minimum();
return expr.minimum();
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 "MIN(" + left.getAsString() + ")";
return "MIN(" + 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()); }