public class CountWindow extends Window
Window
that represents a count window. For each count window, we will assign a unique
id. Thus this CountWindow can act as namespace part in state. We can attach data to each
different CountWindow.Modifier and Type | Class and Description |
---|---|
static class |
CountWindow.Serializer
The serializer used to write the CountWindow type.
|
Constructor and Description |
---|
CountWindow(long id) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Window o) |
boolean |
equals(Object o) |
long |
getId()
Gets the id (0-based) of the window.
|
int |
hashCode() |
long |
maxTimestamp()
Gets the largest timestamp that still belongs to this window.
|
String |
toString() |
public long getId()
public long maxTimestamp()
Window
maxTimestamp
in class Window
public int compareTo(Window o)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.