|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.lib.Cogroup
public class Cogroup
| Constructor Summary | |
|---|---|
Cogroup()
|
|
| Method Summary | ||
|---|---|---|
static
|
cogroup(int numReducers,
PTable<K,?> first,
PTable<K,?>... rest)
Co-groups an arbitrary number of PTable arguments with a user-specified degree of parallelism
(a.k.a, number of reducers.) The largest table should come last in the ordering. |
|
static
|
cogroup(int numReducers,
PTable<K,U> left,
PTable<K,V> right)
Co-groups the two PTable arguments with a user-specified degree of parallelism (a.k.a, number of
reducers.) |
|
static
|
cogroup(int numReducers,
PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third)
Co-groups the three PTable arguments with a user-specified degree of parallelism (a.k.a, number of
reducers.) |
|
static
|
cogroup(int numReducers,
PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third,
PTable<K,V4> fourth)
Co-groups the three PTable arguments with a user-specified degree of parallelism (a.k.a, number of
reducers.) |
|
static
|
cogroup(PTable<K,?> first,
PTable<K,?>... rest)
Co-groups an arbitrary number of PTable arguments. |
|
static
|
cogroup(PTable<K,U> left,
PTable<K,V> right)
Co-groups the two PTable arguments. |
|
static
|
cogroup(PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third)
Co-groups the three PTable arguments. |
|
static
|
cogroup(PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third,
PTable<K,V4> fourth)
Co-groups the three PTable arguments. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cogroup()
| Method Detail |
|---|
public static <K,U,V> PTable<K,Pair<Collection<U>,Collection<V>>> cogroup(PTable<K,U> left,
PTable<K,V> right)
PTable arguments.
left - The left (smaller) PTableright - The right (larger) PTable
PTable representing the co-grouped tables
public static <K,U,V> PTable<K,Pair<Collection<U>,Collection<V>>> cogroup(int numReducers,
PTable<K,U> left,
PTable<K,V> right)
PTable arguments with a user-specified degree of parallelism (a.k.a, number of
reducers.)
numReducers - The number of reducers to useleft - The left (smaller) PTableright - The right (larger) PTable
PTable representing the co-grouped tables
public static <K,V1,V2,V3> PTable<K,Tuple3.Collect<V1,V2,V3>> cogroup(PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third)
PTable arguments.
first - The smallest PTablesecond - The second-smallest PTablethird - The largest PTable
PTable representing the co-grouped tables
public static <K,V1,V2,V3> PTable<K,Tuple3.Collect<V1,V2,V3>> cogroup(int numReducers,
PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third)
PTable arguments with a user-specified degree of parallelism (a.k.a, number of
reducers.)
numReducers - The number of reducers to usefirst - The smallest PTablesecond - The second-smallest PTablethird - The largest PTable
PTable representing the co-grouped tables
public static <K,V1,V2,V3,V4> PTable<K,Tuple4.Collect<V1,V2,V3,V4>> cogroup(PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third,
PTable<K,V4> fourth)
PTable arguments.
first - The smallest PTablesecond - The second-smallest PTablethird - The largest PTable
PTable representing the co-grouped tables
public static <K,V1,V2,V3,V4> PTable<K,Tuple4.Collect<V1,V2,V3,V4>> cogroup(int numReducers,
PTable<K,V1> first,
PTable<K,V2> second,
PTable<K,V3> third,
PTable<K,V4> fourth)
PTable arguments with a user-specified degree of parallelism (a.k.a, number of
reducers.)
numReducers - The number of reducers to usefirst - The smallest PTablesecond - The second-smallest PTablethird - The largest PTable
PTable representing the co-grouped tables
public static <K> PTable<K,TupleN> cogroup(PTable<K,?> first,
PTable<K,?>... rest)
PTable arguments. The largest table should
come last in the ordering.
first - The first (smallest) PTable to co-grouprest - The other (larger) PTables to co-group
PTable representing the co-grouped tables
public static <K,U,V> PTable<K,TupleN> cogroup(int numReducers,
PTable<K,?> first,
PTable<K,?>... rest)
PTable arguments with a user-specified degree of parallelism
(a.k.a, number of reducers.) The largest table should come last in the ordering.
numReducers - The number of reducers to usefirst - The first (smallest) PTable to co-grouprest - The other (larger) PTables to co-group
PTable representing the co-grouped tables
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||