Package com.alibaba.druid.sql.ast
Enum SQLOver.WindowingBound
- java.lang.Object
-
- java.lang.Enum<SQLOver.WindowingBound>
-
- com.alibaba.druid.sql.ast.SQLOver.WindowingBound
-
- All Implemented Interfaces:
Serializable,Comparable<SQLOver.WindowingBound>
- Enclosing class:
- SQLOver
public static enum SQLOver.WindowingBound extends Enum<SQLOver.WindowingBound>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_ROWFOLLOWINGPRECEDINGUNBOUNDED_FOLLOWINGUNBOUNDED_PRECEDING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLOver.WindowingBoundvalueOf(String name)Returns the enum constant of this type with the specified name.static SQLOver.WindowingBound[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNBOUNDED_PRECEDING
public static final SQLOver.WindowingBound UNBOUNDED_PRECEDING
-
PRECEDING
public static final SQLOver.WindowingBound PRECEDING
-
CURRENT_ROW
public static final SQLOver.WindowingBound CURRENT_ROW
-
FOLLOWING
public static final SQLOver.WindowingBound FOLLOWING
-
UNBOUNDED_FOLLOWING
public static final SQLOver.WindowingBound UNBOUNDED_FOLLOWING
-
-
Method Detail
-
values
public static SQLOver.WindowingBound[] 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 (SQLOver.WindowingBound c : SQLOver.WindowingBound.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLOver.WindowingBound 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
-
-