public class SumAggregator<T> extends AggregationFunction<T>
AggregationFunction.AggregationType| Constructor and Description |
|---|
SumAggregator(int pos,
TypeInformation<T> typeInfo,
ExecutionConfig config) |
SumAggregator(String field,
TypeInformation<T> typeInfo,
ExecutionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
T |
reduce(T value1,
T value2) |
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextpublic SumAggregator(int pos,
TypeInformation<T> typeInfo,
ExecutionConfig config)
public SumAggregator(String field, TypeInformation<T> typeInfo, ExecutionConfig config)
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.