K
- Type of the keys.U
- Type of the first PTable
's valuesV
- Type of the second PTable
's valuespublic class LeftOuterJoinFn<K,U,V> extends JoinFn<K,U,V>
Constructor and Description |
---|
LeftOuterJoinFn(PType<K> keyType,
PType<U> leftValueType) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Emitter<Pair<K,Pair<U,V>>> emitter)
Called during the cleanup of the MapReduce job this
DoFn is
associated with. |
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.
|
configure, disableDeepCopy, scaleFactor, setConfiguration, 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)
public void cleanup(Emitter<Pair<K,Pair<U,V>>> emitter)
DoFn
is
associated with. Subclasses may override this method to do appropriate
cleanup.Copyright © 2016 The Apache Software Foundation. All rights reserved.