public static final class StateListView.NamespacedStateListView<N,T> extends StateListView<N,T>
StateListView.NamespacedStateListView is an StateListView whose underlying representation
is a keyed and namespaced state. It also support to change current namespace.StateListView.KeyedStateListView<N,T>, StateListView.NamespacedStateListView<N,T>| Constructor and Description |
|---|
NamespacedStateListView(org.apache.flink.runtime.state.internal.InternalListState<?,N,T> listState) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.api.common.state.ListState<T> |
getListState() |
void |
setCurrentNamespace(N namespace)
Sets current namespace for state.
|
add, addAll, clear, get, getList, remove, setListpublic void setCurrentNamespace(N namespace)
StateDataViewprotected org.apache.flink.api.common.state.ListState<T> getListState()
getListState in class StateListView<N,T>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.