public static final class PlanUnwrappingSortedGroupCombineOperator.TupleUnwrappingGroupReducer<IN,OUT,K1,K2> extends WrappingFunction<GroupCombineFunction<IN,OUT>> implements GroupCombineFunction<Tuple3<K1,K2,IN>,OUT>
wrappedFunction
Modifier and Type | Method and Description |
---|---|
void |
combine(Iterable<Tuple3<K1,K2,IN>> values,
Collector<OUT> out)
The combine method, called (potentially multiple timed) with subgroups of elements.
|
String |
toString() |
close, getWrappedFunction, open, setRuntimeContext
getIterationRuntimeContext, getRuntimeContext
public void combine(Iterable<Tuple3<K1,K2,IN>> values, Collector<OUT> out) throws Exception
GroupCombineFunction
combine
in interface GroupCombineFunction<Tuple3<K1,K2,IN>,OUT>
values
- The elements to be combined.out
- The collector to use to return values from the function.Exception
- The function may throw Exceptions, which will cause the program to cancel,
and may trigger the recovery logic.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.