@Internal public static final class ScalaAggregateOperator.AggregatingUdf<T extends scala.Product> extends RichGroupReduceFunction<T,T> implements GroupCombineFunction<T,T>
| Constructor and Description |
|---|
ScalaAggregateOperator.AggregatingUdf(TypeInformation<T> typeInfo,
AggregationFunction<Object>[] aggFunctions,
int[] fieldPositions) |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(Iterable<T> records,
Collector<T> out) |
void |
open(Configuration parameters) |
void |
reduce(Iterable<T> records,
Collector<T> out) |
close, getIterationRuntimeContext, getRuntimeContext, setRuntimeContextpublic ScalaAggregateOperator.AggregatingUdf(TypeInformation<T> typeInfo, AggregationFunction<Object>[] aggFunctions, int[] fieldPositions)
public void open(Configuration parameters) throws Exception
open in interface RichFunctionopen in class AbstractRichFunctionExceptionpublic void reduce(Iterable<T> records, Collector<T> out)
reduce in interface GroupReduceFunction<T extends scala.Product,T extends scala.Product>reduce in class RichGroupReduceFunction<T extends scala.Product,T extends scala.Product>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.