public final class WindowValueState<W> extends Object implements WindowState<W>
ValueState
which is easier to update based on window namespace.Constructor and Description |
---|
WindowValueState(InternalValueState<RowData,W,RowData> windowState) |
Modifier and Type | Method and Description |
---|---|
void |
clear(W window)
Removes the value mapped under current key and the given window.
|
void |
update(W window,
RowData value)
Update the state with the given value under current key and the given window.
|
RowData |
value(W window)
Returns the current value for the state under current key and the given window.
|
public WindowValueState(InternalValueState<RowData,W,RowData> windowState)
public void clear(W window)
WindowState
clear
in interface WindowState<W>
public RowData value(W window) throws IOException
IOException
public void update(W window, RowData value) throws IOException
window
- the window namespace.value
- the new value for the state.IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.