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
FOLLOWING
PRECEEDING
UNBOUNDED_FOLLOWING
UNBOUNDED_PRECEEDING
-
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_PRECEEDING
public static final WindowFrameClause.UnitType UNBOUNDED_PRECEEDING
-
UNBOUNDED_FOLLOWING
public static final WindowFrameClause.UnitType UNBOUNDED_FOLLOWING
-
PRECEEDING
public static final WindowFrameClause.UnitType PRECEEDING
-
FOLLOWING
public static final WindowFrameClause.UnitType FOLLOWING
-
CURRENT_ROW
public static final WindowFrameClause.UnitType 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.
-
-