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(java.time.Duration size,
java.time.Duration slide,
java.time.Duration offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
java.time.Duration |
getOffset() |
java.time.Duration |
getSize() |
java.time.Duration |
getSlide() |
int |
hashCode() |
String |
toString() |
String |
toSummaryString(String windowing) |
public static final String FIELD_NAME_SIZE
public static final String FIELD_NAME_SLIDE
public static final String FIELD_NAME_OFFSET
public HoppingWindowSpec(java.time.Duration size, java.time.Duration slide, @Nullable java.time.Duration offset)
public String toSummaryString(String windowing)
toSummaryString
in interface WindowSpec
public java.time.Duration getSize()
public java.time.Duration getSlide()
public java.time.Duration getOffset()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.