| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.api.windowing.assigners |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SlidingTimeWindows
已过时。
Please use
SlidingEventTimeWindows. |
| 限定符和类型 | 方法和说明 |
|---|---|
static SlidingEventTimeWindows |
SlidingEventTimeWindows.of(Time size,
Time slide)
Creates a new
SlidingEventTimeWindows WindowAssigner that assigns
elements to sliding time windows based on the element timestamp. |
static SlidingEventTimeWindows |
SlidingEventTimeWindows.of(Time size,
Time slide,
Time offset)
Creates a new
SlidingEventTimeWindows WindowAssigner that assigns
elements to time windows based on the element timestamp and offset. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.