public static final class PlanLeftUnwrappingCoGroupOperator.TupleLeftUnwrappingCoGrouper<I1,I2,OUT,K> extends WrappingFunction<CoGroupFunction<I1,I2,OUT>> implements CoGroupFunction<Tuple2<K,I1>,I2,OUT>
wrappedFunction
Modifier and Type | Method and Description |
---|---|
void |
coGroup(Iterable<Tuple2<K,I1>> records1,
Iterable<I2> records2,
Collector<OUT> out)
This method must be implemented to provide a user implementation of a
coGroup.
|
close, getWrappedFunction, open, setRuntimeContext
getIterationRuntimeContext, getRuntimeContext
public void coGroup(Iterable<Tuple2<K,I1>> records1, Iterable<I2> records2, Collector<OUT> out) throws Exception
CoGroupFunction
coGroup
in interface CoGroupFunction<Tuple2<K,I1>,I2,OUT>
records1
- The records from the first input.records2
- The records from the second.out
- A collector to return elements.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.