public class UnlimitedWindows extends Windows<UnlimitedWindow>
Modifier and Type | Field and Description |
---|---|
long |
start
The start timestamp of the window.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
static UnlimitedWindows |
of(String name)
Return an unlimited window starting at timestamp zero.
|
UnlimitedWindows |
startOn(long start)
Return a new unlimited window for the specified start timestamp.
|
Map<Long,UnlimitedWindow> |
windowsFor(long timestamp)
Creates all windows that contain the provided timestamp, indexed by non-negative window start timestamps.
|
maintainMs, name, segments, until
public static UnlimitedWindows of(String name)
public UnlimitedWindows startOn(long start)
start
- the window start timestart
public Map<Long,UnlimitedWindow> windowsFor(long timestamp)
Windows
windowsFor
in class Windows<UnlimitedWindow>
timestamp
- the timestamp window should get created forwindowStartTimestamp -> Window
entries