public static final class StateListView.NamespacedStateListView<N,T> extends StateListView<N,T>
StateListView.NamespacedStateListView is an StateListView whose underlying is a keyed
and namespaced state. It also support to change current namespace.StateListView.KeyedStateListView<N,T>, StateListView.NamespacedStateListView<N,T>| 构造器和说明 |
|---|
NamespacedStateListView(org.apache.flink.runtime.state.internal.InternalListState<?,N,T> listState) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.flink.api.common.state.ListState<T> |
getListState() |
void |
setCurrentNamespace(N namespace)
Sets current namespace for state.
|
public void setCurrentNamespace(N namespace)
StateDataViewprotected org.apache.flink.api.common.state.ListState<T> getListState()
getListState 在类中 StateListView<N,T>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.