This project has retired. For details please refer to its Attic page.
JoinStrategy (Apache Crunch 0.8.0 API)

org.apache.crunch.lib.join
Interface JoinStrategy<K,U,V>

All Superinterfaces:
Serializable
All Known Implementing Classes:
BloomFilterJoinStrategy, DefaultJoinStrategy, MapsideJoinStrategy, ShardedJoinStrategy

public interface JoinStrategy<K,U,V>
extends Serializable

Defines a strategy for joining two PTables together on a common key.


Method Summary
 PTable<K,Pair<U,V>> join(PTable<K,U> left, PTable<K,V> right, JoinType joinType)
          Join two tables with the given join type.
 

Method Detail

join

PTable<K,Pair<U,V>> join(PTable<K,U> left,
                         PTable<K,V> right,
                         JoinType joinType)
Join two tables with the given join type.

Parameters:
left - left table to be joined
right - right table to be joined
joinType - type of join to perform
Returns:
joined tables


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.