Enum SQLUnionOperator
- java.lang.Object
-
- java.lang.Enum<SQLUnionOperator>
-
- com.alibaba.druid.sql.ast.statement.SQLUnionOperator
-
- All Implemented Interfaces:
Serializable,Comparable<SQLUnionOperator>
public enum SQLUnionOperator extends Enum<SQLUnionOperator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISTINCTEXCEPTEXCEPT_ALLEXCEPT_DISTINCTINTERSECTINTERSECT_ALLINTERSECT_DISTINCTMINUSMINUS_ALLMINUS_DISTINCTUNIONUNION_ALL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static SQLUnionOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static SQLUnionOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNION
public static final SQLUnionOperator UNION
-
UNION_ALL
public static final SQLUnionOperator UNION_ALL
-
MINUS
public static final SQLUnionOperator MINUS
-
MINUS_DISTINCT
public static final SQLUnionOperator MINUS_DISTINCT
-
MINUS_ALL
public static final SQLUnionOperator MINUS_ALL
-
EXCEPT
public static final SQLUnionOperator EXCEPT
-
EXCEPT_ALL
public static final SQLUnionOperator EXCEPT_ALL
-
EXCEPT_DISTINCT
public static final SQLUnionOperator EXCEPT_DISTINCT
-
INTERSECT
public static final SQLUnionOperator INTERSECT
-
INTERSECT_ALL
public static final SQLUnionOperator INTERSECT_ALL
-
INTERSECT_DISTINCT
public static final SQLUnionOperator INTERSECT_DISTINCT
-
DISTINCT
public static final SQLUnionOperator DISTINCT
-
-
Method Detail
-
values
public static SQLUnionOperator[] 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 (SQLUnionOperator c : SQLUnionOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLUnionOperator 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<SQLUnionOperator>
-
-