public static final class PlanUnwrappingReduceGroupOperator.TupleUnwrappingNonCombinableGroupReducer<IN,OUT,K> extends WrappingFunction<GroupReduceFunction<IN,OUT>> implements GroupReduceFunction<Tuple2<K,IN>,OUT>
wrappedFunction
Modifier and Type | Method and Description |
---|---|
void |
reduce(Iterable<Tuple2<K,IN>> values,
Collector<OUT> out)
The reduce method.
|
String |
toString() |
close, getWrappedFunction, open, setRuntimeContext
getIterationRuntimeContext, getRuntimeContext
public void reduce(Iterable<Tuple2<K,IN>> values, Collector<OUT> out) throws Exception
GroupReduceFunction
reduce
in interface GroupReduceFunction<Tuple2<K,IN>,OUT>
values
- All records that belong to the given input key.out
- The collector to hand results to.Exception
- This method may throw exceptions. Throwing an exception will cause the operation
to fail and may trigger recovery.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.