Class WindowingStrategy
- java.lang.Object
-
- org.apache.flink.table.planner.plan.logical.WindowingStrategy
-
- Direct Known Subclasses:
SliceAttachedWindowingStrategy
,TimeAttributeWindowingStrategy
,WindowAttachedWindowingStrategy
public abstract class WindowingStrategy extends Object
Logical representation of a windowing strategy.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_IS_ROWTIME
static String
FIELD_NAME_TIME_ATTRIBUTE_TYPE
static String
FIELD_NAME_WINDOW
protected boolean
isRowtime
protected LogicalType
timeAttributeType
protected WindowSpec
window
-
Constructor Summary
Constructors Modifier Constructor Description protected
WindowingStrategy(WindowSpec window, LogicalType timeAttributeType)
protected
WindowingStrategy(WindowSpec window, LogicalType timeAttributeType, boolean isRowtime)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description LogicalType
getTimeAttributeType()
WindowSpec
getWindow()
boolean
isProctime()
boolean
isRowtime()
abstract String
toSummaryString(String[] inputFieldNames)
-
-
-
Field Detail
-
FIELD_NAME_WINDOW
public static final String FIELD_NAME_WINDOW
- See Also:
- Constant Field Values
-
FIELD_NAME_TIME_ATTRIBUTE_TYPE
public static final String FIELD_NAME_TIME_ATTRIBUTE_TYPE
- See Also:
- Constant Field Values
-
FIELD_NAME_IS_ROWTIME
public static final String FIELD_NAME_IS_ROWTIME
- See Also:
- Constant Field Values
-
window
protected final WindowSpec window
-
timeAttributeType
protected final LogicalType timeAttributeType
-
isRowtime
protected final boolean isRowtime
-
-
Constructor Detail
-
WindowingStrategy
protected WindowingStrategy(WindowSpec window, LogicalType timeAttributeType)
-
WindowingStrategy
protected WindowingStrategy(WindowSpec window, LogicalType timeAttributeType, boolean isRowtime)
-
-
Method Detail
-
getWindow
public WindowSpec getWindow()
-
getTimeAttributeType
public LogicalType getTimeAttributeType()
-
isRowtime
public boolean isRowtime()
-
isProctime
public boolean isProctime()
-
-