Class CumulativeWindowSpec
- java.lang.Object
-
- org.apache.flink.table.planner.plan.logical.CumulativeWindowSpec
-
- All Implemented Interfaces:
WindowSpec
public class CumulativeWindowSpec extends Object implements WindowSpec
Logical representation of a cumulative window specification.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_MAX_SIZE
static String
FIELD_NAME_OFFSET
static String
FIELD_NAME_STEP
-
Constructor Summary
Constructors Constructor Description CumulativeWindowSpec(Duration maxSize, Duration step, Duration offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Duration
getMaxSize()
Duration
getOffset()
Duration
getStep()
int
hashCode()
boolean
isAlignedWindow()
Return true if the window is aligned.String
toString()
String
toSummaryString(String windowing, String[] inputFieldNames)
-
-
-
Field Detail
-
FIELD_NAME_MAX_SIZE
public static final String FIELD_NAME_MAX_SIZE
- See Also:
- Constant Field Values
-
FIELD_NAME_STEP
public static final String FIELD_NAME_STEP
- See Also:
- Constant Field Values
-
FIELD_NAME_OFFSET
public static final String FIELD_NAME_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
toSummaryString
public String toSummaryString(String windowing, String[] inputFieldNames)
- Specified by:
toSummaryString
in interfaceWindowSpec
-
getMaxSize
public Duration getMaxSize()
-
getStep
public Duration getStep()
-
getOffset
public Duration getOffset()
-
isAlignedWindow
public boolean isAlignedWindow()
Description copied from interface:WindowSpec
Return true if the window is aligned.See more details about aligned window and unaligned window in
WindowAggOperator
.- Specified by:
isAlignedWindow
in interfaceWindowSpec
-
-