List<Class<?>> returnTypes = new ArrayList<Class<?>>();
summary.addAggregate("COUNT_RECS", new Count(Summarize1Peer.ID));
returnTypes.add(Integer.class);
summary.addAggregate("AVG_INT1", new Avg(Summarize1Peer.INT_1));
returnTypes.add(Integer.class);
summary.addAggregate("MIN_INT1", new Min(Summarize1Peer.INT_1));
returnTypes.add(Integer.class);
summary.addAggregate("MAX_INT1", new Max(Summarize1Peer.INT_1));
returnTypes.add(Integer.class);
summary.addAggregate("SUM_INT1", new Sum(Summarize1Peer.INT_1));
returnTypes.add(Integer.class);
summary.addAggregate("AVG_FLOAT1", new Avg(Summarize1Peer.FLOAT1));
returnTypes.add(Float.class);
summary.addAggregate("MIN_FLOAT1", new Min(Summarize1Peer.FLOAT1));
returnTypes.add(Float.class);