W
- type of the window instancepublic abstract class Windows<W extends Window> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Windows(String name) |
Modifier and Type | Method and Description |
---|---|
long |
maintainMs()
Return the window maintain duration in milliseconds of system time.
|
String |
name() |
protected Windows<W> |
segments(int segments)
Specify the number of segments to be used for rolling the window store,
this function is not exposed to users but can be called by developers that extend this JoinWindows specs.
|
Windows<W> |
until(long durationMs)
Set the window maintain duration in milliseconds of system time.
|
abstract Map<Long,W> |
windowsFor(long timestamp)
Creates all windows that contain the provided timestamp, indexed by non-negative window start timestamps.
|
protected String name
public int segments
protected Windows(String name)
public String name()
public Windows<W> until(long durationMs)
protected Windows<W> segments(int segments)
public long maintainMs()