public class UnlimitedWindows extends Windows<org.apache.kafka.streams.kstream.internals.UnlimitedWindow>
Modifier and Type | Field and Description |
---|---|
long |
start
The start timestamp of the window.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static UnlimitedWindows |
of(java.lang.String name)
Return an unlimited window starting at timestamp zero.
|
UnlimitedWindows |
startOn(long start)
Return a new unlimited window for the specified start timestamp.
|
java.util.Map<java.lang.Long,org.apache.kafka.streams.kstream.internals.UnlimitedWindow> |
windowsFor(long timestamp)
Creates all windows that contain the provided timestamp.
|
maintainMs, name, segments, until
public static UnlimitedWindows of(java.lang.String name)
public UnlimitedWindows startOn(long start)
start
- the window start timestart
public java.util.Map<java.lang.Long,org.apache.kafka.streams.kstream.internals.UnlimitedWindow> windowsFor(long timestamp)
Windows
windowsFor
in class Windows<org.apache.kafka.streams.kstream.internals.UnlimitedWindow>
timestamp
- the timestamp window should get created forwindowStartTimestamp -> Window
entriespublic final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object