public class DefaultJoinStrategy<K,U,V> extends Object implements JoinStrategy<K,U,V>
This join strategy is full-featured (i.e. all methods are available), but is not highly efficient due to its passing all data through the shuffle phase.
| Constructor and Description | 
|---|
| DefaultJoinStrategy() | 
| DefaultJoinStrategy(int numReducers) | 
| Modifier and Type | Method and Description | 
|---|---|
| PTable<K,Pair<U,V>> | join(PTable<K,U> left,
    PTable<K,V> right,
    JoinFn<K,U,V> joinFn)Perform a default join on the given  PTableinstances using a user-specifiedJoinFn. | 
| PTable<K,Pair<U,V>> | join(PTable<K,U> left,
    PTable<K,V> right,
    JoinType joinType)Join two tables with the given join type. | 
public DefaultJoinStrategy()
public DefaultJoinStrategy(int numReducers)
public PTable<K,Pair<U,V>> join(PTable<K,U> left, PTable<K,V> right, JoinType joinType)
JoinStrategyjoin in interface JoinStrategy<K,U,V>left - left table to be joinedright - right table to be joinedjoinType - type of join to performpublic PTable<K,Pair<U,V>> join(PTable<K,U> left, PTable<K,V> right, JoinFn<K,U,V> joinFn)
PTable instances using a user-specified JoinFn.left - left table to be joinedright - right table to be joinedjoinFn - The user-specified implementation of the JoinFn classCopyright © 2017 The Apache Software Foundation. All rights reserved.