Package com.alibaba.druid.sql.ast
Enum SQLPartitionValue.Operator
- java.lang.Object
-
- java.lang.Enum<SQLPartitionValue.Operator>
-
- com.alibaba.druid.sql.ast.SQLPartitionValue.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<SQLPartitionValue.Operator>
- Enclosing class:
- SQLPartitionValue
public static enum SQLPartitionValue.Operator extends Enum<SQLPartitionValue.Operator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EqualFixedRangeInLessThanLessThanEqualListStartEndEvery
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLPartitionValue.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static SQLPartitionValue.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LessThan
public static final SQLPartitionValue.Operator LessThan
-
LessThanEqual
public static final SQLPartitionValue.Operator LessThanEqual
-
Equal
public static final SQLPartitionValue.Operator Equal
-
In
public static final SQLPartitionValue.Operator In
-
List
public static final SQLPartitionValue.Operator List
-
StartEndEvery
public static final SQLPartitionValue.Operator StartEndEvery
-
FixedRange
public static final SQLPartitionValue.Operator FixedRange
-
-
Method Detail
-
values
public static SQLPartitionValue.Operator[] 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 (SQLPartitionValue.Operator c : SQLPartitionValue.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLPartitionValue.Operator 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
-
-