public static enum Join.JoinType extends Enum<Join.JoinType>
Enum Constant and Description |
---|
CROSS_JOIN
CROSS JOIN for two tables. |
FULL_OUTER_JOIN
FULL OUTER JOIN two tables. |
JOIN
INNER JOIN for two tables. |
LEFT_OUTER_JOIN
LEFT OUTER JOIN two tables. |
RIGHT_OUTER_JOIN
RIGHT OUTER JOIN two tables. |
Modifier and Type | Method and Description |
---|---|
String |
getSql() |
static Join.JoinType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Join.JoinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Join.JoinType JOIN
INNER JOIN
for two tables.public static final Join.JoinType CROSS_JOIN
CROSS JOIN
for two tables.public static final Join.JoinType LEFT_OUTER_JOIN
LEFT OUTER JOIN
two tables.public static final Join.JoinType RIGHT_OUTER_JOIN
RIGHT OUTER JOIN
two tables.public static final Join.JoinType FULL_OUTER_JOIN
FULL OUTER JOIN
two tables.public static Join.JoinType[] values()
for (Join.JoinType c : Join.JoinType.values()) System.out.println(c);
public static Join.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 nameNullPointerException
- if the argument is nullpublic String getSql()
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.