Class StateListView.NamespacedStateListView<N,T>
- java.lang.Object
-
- org.apache.flink.table.api.dataview.ListView<EE>
-
- org.apache.flink.table.runtime.dataview.StateListView<N,T>
-
- org.apache.flink.table.runtime.dataview.StateListView.NamespacedStateListView<N,T>
-
- All Implemented Interfaces:
org.apache.flink.table.api.dataview.DataView,StateDataView<N>
- Enclosing class:
- StateListView<N,EE>
public static final class StateListView.NamespacedStateListView<N,T> extends StateListView<N,T>
StateListView.NamespacedStateListViewis anStateListViewwhose underlying representation is a keyed and namespaced state. It also support to change current namespace.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.table.runtime.dataview.StateListView
StateListView.KeyedStateListView<N,T>, StateListView.NamespacedStateListView<N,T>
-
-
Constructor Summary
Constructors Constructor Description NamespacedStateListView(org.apache.flink.runtime.state.internal.InternalListState<?,N,T> listState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.flink.api.common.state.ListState<T>getListState()voidsetCurrentNamespace(N namespace)Sets current namespace for state.-
Methods inherited from class org.apache.flink.table.runtime.dataview.StateListView
add, addAll, clear, get, getList, remove, setList
-
-
-
-
Method Detail
-
setCurrentNamespace
public void setCurrentNamespace(N namespace)
Description copied from interface:StateDataViewSets current namespace for state.
-
getListState
protected org.apache.flink.api.common.state.ListState<T> getListState()
- Specified by:
getListStatein classStateListView<N,T>
-
-