@Override public InternalMax doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) { double max = Double.NEGATIVE_INFINITY; for (InternalAggregation aggregation : aggregations) { max = Math.max(max, ((InternalMax) aggregation).max); } return new InternalMax(name, max, format, pipelineAggregators(), getMetaData()); }
@Override public InternalMax doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) { double max = Double.NEGATIVE_INFINITY; for (InternalAggregation aggregation : aggregations) { max = Math.max(max, ((InternalMax) aggregation).max); } return new InternalMax(name, max, format, pipelineAggregators(), getMetaData()); }
@Override public InternalMax doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) { double max = Double.NEGATIVE_INFINITY; for (InternalAggregation aggregation : aggregations) { max = Math.max(max, ((InternalMax) aggregation).max); } return new InternalMax(name, max, valueFormatter, pipelineAggregators(), getMetaData()); }
@Override public InternalMax doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) { double max = Double.NEGATIVE_INFINITY; for (InternalAggregation aggregation : aggregations) { max = Math.max(max, ((InternalMax) aggregation).max); } return new InternalMax(name, max, format, pipelineAggregators(), getMetaData()); }
@Override public InternalMax doReduce(List<InternalAggregation> aggregations, ReduceContext reduceContext) { double max = Double.NEGATIVE_INFINITY; for (InternalAggregation aggregation : aggregations) { max = Math.max(max, ((InternalMax) aggregation).max); } return new InternalMax(name, max, format, pipelineAggregators(), getMetaData()); }