} else if ("avg(double)".equalsIgnoreCase(agg)) {
func = new DoubleAvg();
} else if ("avg(float)".equalsIgnoreCase(agg)) {
func = new FloatAvg();
} else if ("avg(long)".equalsIgnoreCase(agg)) {
func = new LongAvg();
} else if ("avg(int)".equalsIgnoreCase(agg)) {
func = new IntAvg();
} else if ("avg(bytearray)".equalsIgnoreCase(agg)) {
func = new AVG();
} else if ("min(double)".equalsIgnoreCase(agg)) {