public class TumblingWindowSpec extends Object implements WindowSpec
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_OFFSET |
static String |
FIELD_NAME_SIZE |
| Constructor and Description |
|---|
TumblingWindowSpec(java.time.Duration size,
java.time.Duration offset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
java.time.Duration |
getOffset() |
java.time.Duration |
getSize() |
int |
hashCode() |
String |
toString() |
String |
toSummaryString(String windowing) |
public static final String FIELD_NAME_SIZE
public static final String FIELD_NAME_OFFSET
public TumblingWindowSpec(java.time.Duration size,
@Nullable
java.time.Duration offset)
public String toSummaryString(String windowing)
toSummaryString in interface WindowSpecpublic java.time.Duration getSize()
public java.time.Duration getOffset()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.