|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcascading.pipe.cogroup.MixedJoin
public class MixedJoin
Class MixedJoin will return an Iterator that will iterate over a given
Joiner and return tuples that represent a join as defined by the given boolean array.
boolean []{true,false,false} will result in a 'inner', 'outer', 'outer' join.
| Nested Class Summary | |
|---|---|
protected class |
MixedJoin.JoinIterator
|
| Field Summary | |
|---|---|
static boolean |
INNER
Field INNER |
static boolean |
OUTER
Field OUTER |
| Constructor Summary | |
|---|---|
MixedJoin(boolean[] asInner)
Constructor MixedJoin creates a new MixedJoin instance. |
|
| Method Summary | |
|---|---|
Iterator<Tuple> |
getIterator(GroupClosure closure)
Returns an interator that joins the given CoGroupClosure co-groups. |
int |
numJoins()
Returns the number of joins this instance can handle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean INNER
public static boolean OUTER
| Constructor Detail |
|---|
public MixedJoin(boolean[] asInner)
asInner - of type boolean[]| Method Detail |
|---|
public Iterator<Tuple> getIterator(GroupClosure closure)
Joiner
getIterator in interface Joinerclosure - of type GroupClosure
public int numJoins()
Joiner
numJoins in interface JoinerJoiner.numJoins()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||