Class UnlimitedWindow
- java.lang.Object
-
- org.apache.kafka.streams.kstream.Window
-
- org.apache.kafka.streams.kstream.internals.UnlimitedWindow
-
public class UnlimitedWindow extends Window
UnlimitedWindowis an "infinite" large window with a fixed (inclusive) start time. All windows of the samewindow specificationwill have the same start time. To make the window size "infinite" end time is set toLong.MAX_VALUE.For time semantics, see
TimestampExtractor.- See Also:
TimeWindow,SessionWindow,UnlimitedWindows,TimestampExtractor
-
-
Constructor Summary
Constructors Constructor Description UnlimitedWindow(long startMs)Create a new window for the given start time (inclusive).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanoverlap(Window other)Returnstrueif the given window is of the same type, because all unlimited windows overlap with each other due to their infinite size.
-
-
-
Method Detail
-
overlap
public boolean overlap(Window other)
Returnstrueif the given window is of the same type, because all unlimited windows overlap with each other due to their infinite size.
-
-