@Internal public static final class JoinOperator.DefaultFlatJoinFunction<T1,T2> extends RichFlatJoinFunction<T1,T2,Tuple2<T1,T2>>
Constructor and Description |
---|
DefaultFlatJoinFunction() |
Modifier and Type | Method and Description |
---|---|
void |
join(T1 first,
T2 second,
Collector<Tuple2<T1,T2>> out)
The join method, called once per joined pair of elements.
|
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContext
public void join(T1 first, T2 second, Collector<Tuple2<T1,T2>> out) throws Exception
FlatJoinFunction
join
in interface FlatJoinFunction<T1,T2,Tuple2<T1,T2>>
join
in class RichFlatJoinFunction<T1,T2,Tuple2<T1,T2>>
first
- The element from first input.second
- 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–2017 The Apache Software Foundation. All rights reserved.