Package org.datanucleus.store.rdbms.sql
Enum SQLJoin.JoinType
- java.lang.Object
-
- java.lang.Enum<SQLJoin.JoinType>
-
- org.datanucleus.store.rdbms.sql.SQLJoin.JoinType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SQLJoin.JoinType>
- Enclosing class:
- SQLJoin
public static enum SQLJoin.JoinType extends java.lang.Enum<SQLJoin.JoinType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CROSS_JOIN
INNER_JOIN
LEFT_OUTER_JOIN
NON_ANSI_JOIN
RIGHT_OUTER_JOIN
-
Constructor Summary
Constructors Modifier Constructor Description private
JoinType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLJoin.JoinType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLJoin.JoinType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_ANSI_JOIN
public static final SQLJoin.JoinType NON_ANSI_JOIN
-
INNER_JOIN
public static final SQLJoin.JoinType INNER_JOIN
-
LEFT_OUTER_JOIN
public static final SQLJoin.JoinType LEFT_OUTER_JOIN
-
RIGHT_OUTER_JOIN
public static final SQLJoin.JoinType RIGHT_OUTER_JOIN
-
CROSS_JOIN
public static final SQLJoin.JoinType CROSS_JOIN
-
-
Method Detail
-
values
public static SQLJoin.JoinType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SQLJoin.JoinType c : SQLJoin.JoinType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLJoin.JoinType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-