@Internal public final class TupleLeftUnwrappingJoiner<I1,I2,OUT,K> extends WrappingFunction<FlatJoinFunction<I1,I2,OUT>> implements FlatJoinFunction<Tuple2<K,I1>,I2,OUT>
wrappedFunction
Constructor and Description |
---|
TupleLeftUnwrappingJoiner(FlatJoinFunction<I1,I2,OUT> wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
join(Tuple2<K,I1> value1,
I2 value2,
Collector<OUT> collector)
The join method, called once per joined pair of elements.
|
close, getWrappedFunction, open, setRuntimeContext
getIterationRuntimeContext, getRuntimeContext
public TupleLeftUnwrappingJoiner(FlatJoinFunction<I1,I2,OUT> wrapped)
public void join(Tuple2<K,I1> value1, I2 value2, Collector<OUT> collector) throws Exception
FlatJoinFunction
join
in interface FlatJoinFunction<Tuple2<K,I1>,I2,OUT>
value1
- The element from first input.value2
- The element from second input.collector
- The collector used to return zero, one, or more elements.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.