K
- Type of the keys.U
- Type of the first PTable
's valuesV
- Type of the second PTable
's valuespublic class RightOuterJoinFn<K,U,V> extends JoinFn<K,U,V>
Constructor and Description |
---|
RightOuterJoinFn(PType<K> keyType,
PType<U> leftValueType) |
Modifier and Type | Method and Description |
---|---|
String |
getJoinType() |
void |
initialize()
Initialize this DoFn.
|
void |
join(K key,
int id,
Iterable<Pair<U,V>> pairs,
Emitter<Pair<K,Pair<U,V>>> emitter)
Performs the actual joining.
|
cleanup, configure, scaleFactor, setContext
public void initialize()
DoFn.process(Object, Emitter)
is triggered. Subclasses may override
this method to do appropriate initialization.
Called during the setup of the job instance this DoFn
is associated
with.
initialize
in class JoinFn<K,U,V>
public void join(K key, int id, Iterable<Pair<U,V>> pairs, Emitter<Pair<K,Pair<U,V>>> emitter)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.