@Override public AvgTuple<Long, Long> finalizeChunk() { long count = this.count; long amount = this.amount; this.count = 0; this.amount = 0; return new AvgTuple<Long, Long>(count, amount); } }
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new DistinctValuesAggregation.DistinctValueMapper(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigDecimalMaxAggregation.BigDecimalMaxReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigDecimalMinAggregation.BigDecimalMinCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigIntegerAvgAggregation.BigIntegerAvgReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigIntegerSumAggregation.BigIntegerSumCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new ComparableMaxAggregation.ComparableMaxReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new DoubleAvgAggregation.DoubleAvgCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new IntegerSumAggregation.IntegerSumCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new LongAvgAggregation.LongAvgCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new LongAvgAggregation.LongAvgReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new LongMaxAggregation.LongMaxReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new LongMinAggregation.LongMinReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigDecimalSumAggregation.BigDecimalSumCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigIntegerAvgAggregation.BigIntegerAvgCombinerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new BigIntegerMaxAggregation.BigIntegerMaxReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new DoubleMinAggregation.DoubleMinReducerFactory(); } };
@Override public IdentifiedDataSerializable createNew(Integer arg) { return new AvgTuple(); } };
@Override public AvgTuple<Long, BigDecimal> finalizeReduce() { return new AvgTuple<Long, BigDecimal>(count, amount); } }