throw new IllegalStateException(String.format("unknown outcome %s", outcome));
}
}
while(true){
AggOutcome out = aggregator.doWork();
logger.debug("Aggregator response {}, records {}", out, aggregator.getOutputCount());
switch(out){
case CLEANUP_AND_RETURN:
if (!first) container.zeroVectors();
done = true;