@Internal
public static final class AggregateOperator.AggregatingUdf<T extends org.apache.flink.api.java.tuple.Tuple>
extends org.apache.flink.api.common.functions.RichGroupReduceFunction<T,T>
implements org.apache.flink.api.common.functions.GroupCombineFunction<T,T>
| Constructor and Description |
|---|
AggregatingUdf(AggregationFunction<Object>[] aggFunctions,
int[] fieldPositions) |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(Iterable<T> records,
org.apache.flink.util.Collector<T> out) |
void |
open(org.apache.flink.configuration.Configuration parameters) |
void |
reduce(Iterable<T> records,
org.apache.flink.util.Collector<T> out) |
public AggregatingUdf(AggregationFunction<Object>[] aggFunctions, int[] fieldPositions)
public void open(org.apache.flink.configuration.Configuration parameters)
throws Exception
open in interface org.apache.flink.api.common.functions.RichFunctionopen in class org.apache.flink.api.common.functions.AbstractRichFunctionExceptionpublic void reduce(Iterable<T> records, org.apache.flink.util.Collector<T> out)
reduce in interface org.apache.flink.api.common.functions.GroupReduceFunction<T extends org.apache.flink.api.java.tuple.Tuple,T extends org.apache.flink.api.java.tuple.Tuple>reduce in class org.apache.flink.api.common.functions.RichGroupReduceFunction<T extends org.apache.flink.api.java.tuple.Tuple,T extends org.apache.flink.api.java.tuple.Tuple>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.