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 Constants Enum Constant Description 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.OFFSET
The OFFSET mode does not care the window framing with LEAD/LAG agg function, seeSqlLeadLagAggFunction
.RANGE
The RANGE mode allows window framing with RANGE clause.ROW
The ROW mode allows window framing with ROW clause.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BatchExecOverAggregateBase.OverWindowMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static BatchExecOverAggregateBase.OverWindowMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW
public static final BatchExecOverAggregateBase.OverWindowMode ROW
The ROW mode allows window framing with ROW clause.
-
RANGE
public static final BatchExecOverAggregateBase.OverWindowMode RANGE
The RANGE mode allows window framing with RANGE clause.
-
OFFSET
public static final BatchExecOverAggregateBase.OverWindowMode OFFSET
The OFFSET mode does not care the window framing with LEAD/LAG agg function, seeSqlLeadLagAggFunction
.
-
INSENSITIVE
public static final BatchExecOverAggregateBase.OverWindowMode 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 Detail
-
values
public static BatchExecOverAggregateBase.OverWindowMode[] 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 (BatchExecOverAggregateBase.OverWindowMode c : BatchExecOverAggregateBase.OverWindowMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatchExecOverAggregateBase.OverWindowMode 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
-
-