public class HoppingWindowSpec extends Object implements WindowSpec
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_OFFSET |
static String |
FIELD_NAME_SIZE |
static String |
FIELD_NAME_SLIDE |
| Constructor and Description |
|---|
HoppingWindowSpec(Duration size,
Duration slide,
Duration offset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Duration |
getOffset() |
Duration |
getSize() |
Duration |
getSlide() |
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_SIZE
public static final String FIELD_NAME_SLIDE
public static final String FIELD_NAME_OFFSET
public String toSummaryString(String windowing, String[] inputFieldNames)
toSummaryString in interface WindowSpecpublic Duration getSize()
public Duration getSlide()
public Duration getOffset()
public boolean isAlignedWindow()
WindowSpecSee more details about aligned window and unaligned window in WindowAggOperator.
isAlignedWindow in interface WindowSpecCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.