Enum Class Join.JoinType
- All Implemented Interfaces:
Serializable, Comparable<Join.JoinType>, Constable
- Enclosing class:
Join
- Since:
- 1.1
- Author:
- Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCROSS JOINfor two tables.FULL OUTER JOINtwo tables.INNER JOINfor two tables.LEFT OUTER JOINtwo tables.RIGHT OUTER JOINtwo tables. -
Method Summary
Modifier and TypeMethodDescriptiongetSql()static Join.JoinTypeReturns the enum constant of this class with the specified name.static Join.JoinType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JOIN
INNER JOINfor two tables. -
CROSS_JOIN
CROSS JOINfor two tables. -
LEFT_OUTER_JOIN
LEFT OUTER JOINtwo tables. -
RIGHT_OUTER_JOIN
RIGHT OUTER JOINtwo tables. -
FULL_OUTER_JOIN
FULL OUTER JOINtwo tables.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSql
-