This project has retired. For details please refer to its Attic page.
Cogroup (Apache Crunch 0.3.0-incubating API)

org.apache.crunch.lib
Class Cogroup

java.lang.Object
  extended by org.apache.crunch.lib.Cogroup

public class Cogroup
extends Object


Constructor Summary
Cogroup()
           
 
Method Summary
static
<K,U,V> PTable<K,Pair<Collection<U>,Collection<V>>>
cogroup(PTable<K,U> left, PTable<K,V> right)
          Co-groups the two PTable arguments.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cogroup

public Cogroup()
Method Detail

cogroup

public static <K,U,V> PTable<K,Pair<Collection<U>,Collection<V>>> cogroup(PTable<K,U> left,
                                                                          PTable<K,V> right)
Co-groups the two PTable arguments.

Returns:
a PTable representing the co-grouped tables.


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