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