Enum WindowExpression.FrameBound
- java.lang.Object
-
- java.lang.Enum<WindowExpression.FrameBound>
-
- org.hotrod.runtime.livesql.expressions.analytics.WindowExpression.FrameBound
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WindowExpression.FrameBound>
- Enclosing class:
- WindowExpression<T>
public static enum WindowExpression.FrameBound extends java.lang.Enum<WindowExpression.FrameBound>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_ROWOFFSET_FOLLOWINGOFFSET_PRECEDINGUNBOUNDED_FOLLOWINGUNBOUNDED_PRECEDING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringrender(java.lang.Integer offset)static WindowExpression.FrameBoundvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WindowExpression.FrameBound[]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 WindowExpression.FrameBound UNBOUNDED_PRECEDING
-
OFFSET_PRECEDING
public static final WindowExpression.FrameBound OFFSET_PRECEDING
-
CURRENT_ROW
public static final WindowExpression.FrameBound CURRENT_ROW
-
OFFSET_FOLLOWING
public static final WindowExpression.FrameBound OFFSET_FOLLOWING
-
UNBOUNDED_FOLLOWING
public static final WindowExpression.FrameBound UNBOUNDED_FOLLOWING
-
-
Method Detail
-
values
public static WindowExpression.FrameBound[] 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 (WindowExpression.FrameBound c : WindowExpression.FrameBound.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowExpression.FrameBound valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
render
public java.lang.String render(java.lang.Integer offset)
-
-