|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JoinType> org.apache.crunch.lib.join.JoinType
public enum JoinType
Specifies the specific behavior of how a join should be performed in terms of requiring matching keys on both sides of the join.
Enum Constant Summary | |
---|---|
FULL_OUTER_JOIN
Join two tables on a common key, also including entries from both tables that have no matching key in the other table. |
|
INNER_JOIN
Join two tables on a common key. |
|
LEFT_OUTER_JOIN
Join two tables on a common key, including entries from the left-side table that have no matching key in the right-side table. |
|
RIGHT_OUTER_JOIN
Join two tables on a common key, including entries from the right-side table that have no matching key in the left-side table. |
Method Summary | |
---|---|
static JoinType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JoinType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JoinType INNER_JOIN
public static final JoinType LEFT_OUTER_JOIN
This is an optional method for implementations.
public static final JoinType RIGHT_OUTER_JOIN
This is an optional method for implementations.
public static final JoinType FULL_OUTER_JOIN
This is an optional method for implementations.
Method Detail |
---|
public static JoinType[] values()
for (JoinType c : JoinType.values()) System.out.println(c);
public static JoinType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |