public abstract class ComparableAggregator<T> extends AggregationFunction<T>
AggregationFunction.AggregationType| Modifier and Type | Field and Description |
|---|---|
boolean |
byAggregate |
Comparator |
comparator |
boolean |
first |
position| Constructor and Description |
|---|
ComparableAggregator(int pos,
AggregationFunction.AggregationType aggregationType,
boolean first) |
| Modifier and Type | Method and Description |
|---|---|
static <R> AggregationFunction<R> |
getAggregator(int positionToAggregate,
org.apache.flink.api.common.typeinfo.TypeInformation<R> typeInfo,
AggregationFunction.AggregationType aggregationType) |
static <R> AggregationFunction<R> |
getAggregator(int positionToAggregate,
org.apache.flink.api.common.typeinfo.TypeInformation<R> typeInfo,
AggregationFunction.AggregationType aggregationType,
boolean first) |
static <R> AggregationFunction<R> |
getAggregator(String field,
org.apache.flink.api.common.typeinfo.TypeInformation<R> typeInfo,
AggregationFunction.AggregationType aggregationType,
boolean first,
org.apache.flink.api.common.ExecutionConfig config) |
public Comparator comparator
public boolean byAggregate
public boolean first
public ComparableAggregator(int pos,
AggregationFunction.AggregationType aggregationType,
boolean first)
public static <R> AggregationFunction<R> getAggregator(int positionToAggregate, org.apache.flink.api.common.typeinfo.TypeInformation<R> typeInfo, AggregationFunction.AggregationType aggregationType)
public static <R> AggregationFunction<R> getAggregator(int positionToAggregate, org.apache.flink.api.common.typeinfo.TypeInformation<R> typeInfo, AggregationFunction.AggregationType aggregationType, boolean first)
public static <R> AggregationFunction<R> getAggregator(String field, org.apache.flink.api.common.typeinfo.TypeInformation<R> typeInfo, AggregationFunction.AggregationType aggregationType, boolean first, org.apache.flink.api.common.ExecutionConfig config)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.