public class CumulativeWindowSpec extends Object implements WindowSpec
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_MAX_SIZE |
static String |
FIELD_NAME_OFFSET |
static String |
FIELD_NAME_STEP |
Constructor and Description |
---|
CumulativeWindowSpec(Duration maxSize,
Duration step,
Duration offset) |
Modifier and Type | Method and 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) |
public static final String FIELD_NAME_MAX_SIZE
public static final String FIELD_NAME_STEP
public static final String FIELD_NAME_OFFSET
public String toSummaryString(String windowing, String[] inputFieldNames)
toSummaryString
in interface WindowSpec
public Duration getMaxSize()
public Duration getStep()
public Duration getOffset()
public boolean isAlignedWindow()
WindowSpec
See more details about aligned window and unaligned window in WindowAggOperator
.
isAlignedWindow
in interface WindowSpec
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.