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