com.alibaba.druid.sql.ast.statement
Enum SQLJoinTableSource.JoinType

java.lang.Object
  extended by java.lang.Enum<SQLJoinTableSource.JoinType>
      extended by 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>


Enum Constant Summary
COMMA
           
CROSS_JOIN
           
FULL_OUTER_JOIN
           
INNER_JOIN
           
JOIN
           
LEFT_OUTER_JOIN
           
NATURAL_INNER_JOIN
           
NATURAL_JOIN
           
RIGHT_OUTER_JOIN
           
STRAIGHT_JOIN
           
 
Field Summary
 String name
           
 
Method Summary
static String toString(SQLJoinTableSource.JoinType joinType)
           
static SQLJoinTableSource.JoinType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SQLJoinTableSource.JoinType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

name

public final String name
Method Detail

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.