@Internal
public interface StateDataViewStore
StateDataView with a managed store.| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.functions.RuntimeContext |
getRuntimeContext() |
<N,EE> StateListView<N,EE> |
getStateListView(String stateName,
org.apache.flink.api.common.typeutils.TypeSerializer<EE> elementSerializer)
Creates a state list view.
|
<N,EK,EV> StateMapView<N,EK,EV> |
getStateMapView(String stateName,
boolean supportNullKey,
org.apache.flink.api.common.typeutils.TypeSerializer<EK> keySerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<EV> valueSerializer)
Creates a state map view.
|
<N,EK,EV> StateMapView<N,EK,EV> getStateMapView(String stateName, boolean supportNullKey, org.apache.flink.api.common.typeutils.TypeSerializer<EK> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<EV> valueSerializer) throws Exception
N - Type of the namespaceEK - External type of the keys in the map stateEV - External type of the values in the map statestateName - The name of underlying state of the map viewsupportNullKey - Whether the null key should be supportedkeySerializer - The key serializervalueSerializer - The value serializerException<N,EE> StateListView<N,EE> getStateListView(String stateName, org.apache.flink.api.common.typeutils.TypeSerializer<EE> elementSerializer) throws Exception
N - Type of the namespaceEE - External type of the elements in the list statestateName - The name of underlying state of the list viewelementSerializer - The element serializerExceptionorg.apache.flink.api.common.functions.RuntimeContext getRuntimeContext()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.