IN1
- type of elements of first collectionIN2
- type of elements of second collectionOUT
- type of elements of resulting elements@Internal public static class JoinOperator.DefaultJoin.WrappingFlatJoinFunction<IN1,IN2,OUT> extends WrappingFunction<JoinFunction<IN1,IN2,OUT>> implements FlatJoinFunction<IN1,IN2,OUT>
JoinFunction
.wrappedFunction
Constructor and Description |
---|
WrappingFlatJoinFunction(JoinFunction<IN1,IN2,OUT> wrappedFunction) |
Modifier and Type | Method and Description |
---|---|
void |
join(IN1 left,
IN2 right,
Collector<OUT> out)
The join method, called once per joined pair of elements.
|
close, getWrappedFunction, open, setRuntimeContext
getIterationRuntimeContext, getRuntimeContext
public WrappingFlatJoinFunction(JoinFunction<IN1,IN2,OUT> wrappedFunction)
public void join(IN1 left, IN2 right, Collector<OUT> out) throws Exception
FlatJoinFunction
join
in interface FlatJoinFunction<IN1,IN2,OUT>
left
- The element from first input.right
- The element from second input.out
- 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–2024 The Apache Software Foundation. All rights reserved.