public static final class PlanUnwrappingSortedReduceGroupOperator.TupleUnwrappingNonCombinableGroupReducer<IN,OUT,K1,K2> extends WrappingFunction<GroupReduceFunction<IN,OUT>> implements GroupReduceFunction<Tuple3<K1,K2,IN>,OUT>
wrappedFunction
Modifier and Type | Method and Description |
---|---|
void |
reduce(Iterable<Tuple3<K1,K2,IN>> values,
Collector<OUT> out)
The reduce method.
|
String |
toString() |
close, getWrappedFunction, open, setRuntimeContext
getIterationRuntimeContext, getRuntimeContext
public void reduce(Iterable<Tuple3<K1,K2,IN>> values, Collector<OUT> out) throws Exception
GroupReduceFunction
reduce
in interface GroupReduceFunction<Tuple3<K1,K2,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.