K
- Type of the keys.U
- Type of the first PTable
's valuesV
- Type of the second PTable
's valuespublic class InnerJoinFn<K,U,V> extends JoinFn<K,U,V>
Constructor and Description |
---|
InnerJoinFn(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, disableDeepCopy, scaleFactor, setConfiguration, setContext
public void initialize()
DoFn
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)
JoinFn
Copyright © 2016 The Apache Software Foundation. All rights reserved.