public static class StateNamespaces.WindowAndTriggerNamespace<W extends BoundedWindow> extends Object implements StateNamespace
StateNamespace that is scoped to a particular window and trigger index.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getTriggerIndex() |
W |
getWindow() |
int |
hashCode() |
String |
stringKey()
Return a
String representation of the key. |
String |
toString() |
public W getWindow()
public int getTriggerIndex()
public String stringKey()
StateNamespaceString representation of the key. It is guaranteed that this
String will uniquely identify the key.
This will encode the actual namespace as a String. It is
preferable to use the StateNamespace object when possible.
The string produced by the standard implementations will not contain a '+' character. This enables adding a '+' between the actual namespace and other information, if needed, to separate the two.
stringKey in interface StateNamespace