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>
StateListView.NamespacedStateListView is an StateListView whose 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
ConstructorsConstructorDescriptionNamespacedStateListView(org.apache.flink.runtime.state.internal.InternalListState<?, N, T> listState) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.flink.api.common.state.ListState<T>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, setListMethods inherited from class org.apache.flink.table.api.dataview.ListView
equals, hashCode, newListViewDataType
-
Constructor Details
-
NamespacedStateListView
-
-
Method Details
-
setCurrentNamespace
Description copied from interface:StateDataViewSets current namespace for state. -
getListState
- Specified by:
getListStatein classStateListView<N,T>
-