SlidingEventTimeWindows
.@PublicEvolving @Deprecated public class SlidingTimeWindows extends SlidingEventTimeWindows
WindowAssigner
that windows elements into sliding windows based on the timestamp of the
elements. Windows can possibly overlap.WindowAssigner.WindowAssignerContext
限定符和类型 | 方法和说明 |
---|---|
static SlidingTimeWindows |
of(Time size,
Time slide)
已过时。
Please use
SlidingEventTimeWindows.of(Time, Time) . |
assignWindows, getDefaultTrigger, getSize, getSlide, getWindowSerializer, isEventTime, of, toString
@Deprecated public static SlidingTimeWindows of(Time size, Time slide)
SlidingEventTimeWindows.of(Time, Time)
.SlidingTimeWindows
WindowAssigner
that assigns
elements to sliding time windows based on the element timestamp.size
- The size of the generated windows.slide
- The slide interval of the generated windows.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.