com.alibaba.druid.sql.ast.statement
Enum SQLJoinTableSource.JoinType
java.lang.Object
java.lang.Enum<SQLJoinTableSource.JoinType>
com.alibaba.druid.sql.ast.statement.SQLJoinTableSource.JoinType
- All Implemented Interfaces:
- Serializable, Comparable<SQLJoinTableSource.JoinType>
- Enclosing class:
- SQLJoinTableSource
public static enum SQLJoinTableSource.JoinType
- extends Enum<SQLJoinTableSource.JoinType>
COMMA
public static final SQLJoinTableSource.JoinType COMMA
JOIN
public static final SQLJoinTableSource.JoinType JOIN
INNER_JOIN
public static final SQLJoinTableSource.JoinType INNER_JOIN
CROSS_JOIN
public static final SQLJoinTableSource.JoinType CROSS_JOIN
NATURAL_JOIN
public static final SQLJoinTableSource.JoinType NATURAL_JOIN
NATURAL_INNER_JOIN
public static final SQLJoinTableSource.JoinType NATURAL_INNER_JOIN
LEFT_OUTER_JOIN
public static final SQLJoinTableSource.JoinType LEFT_OUTER_JOIN
RIGHT_OUTER_JOIN
public static final SQLJoinTableSource.JoinType RIGHT_OUTER_JOIN
FULL_OUTER_JOIN
public static final SQLJoinTableSource.JoinType FULL_OUTER_JOIN
STRAIGHT_JOIN
public static final SQLJoinTableSource.JoinType STRAIGHT_JOIN
name
public final String name
values
public static SQLJoinTableSource.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 (SQLJoinTableSource.JoinType c : SQLJoinTableSource.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 SQLJoinTableSource.JoinType valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public static String toString(SQLJoinTableSource.JoinType joinType)
Copyright © 2012 Alibaba Group. All Rights Reserved.