Enum BatchExecOverAggregateBase.OverWindowMode
java.lang.Object
java.lang.Enum<BatchExecOverAggregateBase.OverWindowMode>
org.apache.flink.table.planner.plan.nodes.exec.batch.BatchExecOverAggregateBase.OverWindowMode
- All Implemented Interfaces:
Serializable,Comparable<BatchExecOverAggregateBase.OverWindowMode>
- Enclosing class:
- BatchExecOverAggregateBase
public static enum BatchExecOverAggregateBase.OverWindowMode
extends Enum<BatchExecOverAggregateBase.OverWindowMode>
OverWindowMode describes the mode of a group in over window.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe INSENSITIVE mode does not care the window framing without LEAD/LAG agg function, for example RANK/DENSE_RANK/PERCENT_RANK/ROW_NUMBER/NTILE.The OFFSET mode does not care the window framing with LEAD/LAG agg function, seeSqlLeadLagAggFunction.The RANGE mode allows window framing with RANGE clause.The ROW mode allows window framing with ROW clause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROW
The ROW mode allows window framing with ROW clause. -
RANGE
The RANGE mode allows window framing with RANGE clause. -
OFFSET
The OFFSET mode does not care the window framing with LEAD/LAG agg function, seeSqlLeadLagAggFunction. -
INSENSITIVE
The INSENSITIVE mode does not care the window framing without LEAD/LAG agg function, for example RANK/DENSE_RANK/PERCENT_RANK/ROW_NUMBER/NTILE.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-