- All Implemented Interfaces:
Serializable,Comparable<SqlJoinType>
Inner join, Outer join or automatic determination based on cardinality and optionality.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionIf this is an AUTO join set it to OUTER as we are joining to a Many.autoToOuter(SqlJoinType deploymentJoinType) If join is AUTO but deploymentJoinType is OUTER then go into OUTER join mode.literal(SqlJoinType deploymentJoinType) Return the actual SQL join literal taking into account the current join type and the 'default join type as per deployment cardinality and optionality'.static SqlJoinTypeReturns the enum constant of this type with the specified name.static SqlJoinType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INNER
It is an inner join. -
OUTER
It is an outer join. -
AUTO
It is automatically determined based on cardinality and optionality.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
literal
Return the actual SQL join literal taking into account the current join type and the 'default join type as per deployment cardinality and optionality'. -
autoToOuter
If this is an AUTO join set it to OUTER as we are joining to a Many. -
autoToOuter
If join is AUTO but deploymentJoinType is OUTER then go into OUTER join mode.
-