Enum WindowFrameClause.UnitType
- java.lang.Object
-
- java.lang.Enum<WindowFrameClause.UnitType>
-
- com.exasol.sql.expression.function.exasol.WindowFrameClause.UnitType
-
- All Implemented Interfaces:
Serializable
,Comparable<WindowFrameClause.UnitType>
- Enclosing class:
- WindowFrameClause
public static enum WindowFrameClause.UnitType extends Enum<WindowFrameClause.UnitType>
Represents a unit type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_ROW
Current rowFOLLOWING
FollowingPRECEDING
PrecedingUNBOUNDED_FOLLOWING
Unbounded followingUNBOUNDED_PRECEDING
Unbounded preceding
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSqlKeyword()
Get the keyword for rendering to SQL.static WindowFrameClause.UnitType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WindowFrameClause.UnitType[]
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 WindowFrameClause.UnitType UNBOUNDED_PRECEDING
Unbounded preceding
-
UNBOUNDED_FOLLOWING
public static final WindowFrameClause.UnitType UNBOUNDED_FOLLOWING
Unbounded following
-
PRECEDING
public static final WindowFrameClause.UnitType PRECEDING
Preceding
-
FOLLOWING
public static final WindowFrameClause.UnitType FOLLOWING
Following
-
CURRENT_ROW
public static final WindowFrameClause.UnitType CURRENT_ROW
Current row
-
-
Method Detail
-
values
public static WindowFrameClause.UnitType[] 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 (WindowFrameClause.UnitType c : WindowFrameClause.UnitType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowFrameClause.UnitType 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
-
getSqlKeyword
public String getSqlKeyword()
Get the keyword for rendering to SQL.- Returns:
- keyword for rendering to SQL.
-
-