} else if ("avg(int)".equalsIgnoreCase(agg)) {
func = new IntAvg();
} else if ("avg(bytearray)".equalsIgnoreCase(agg)) {
func = new AVG();
} else if ("min(double)".equalsIgnoreCase(agg)) {
func = new DoubleMin();
} else if ("min(float)".equalsIgnoreCase(agg)) {
func = new FloatMin();
} else if ("min(long)".equalsIgnoreCase(agg)) {
func = new LongMin();
} else if ("min(int)".equalsIgnoreCase(agg)) {