Interface BeamStateStore
- All Known Implementing Classes:
BeamKeyedStateStore,BeamOperatorStateStore
public interface BeamStateStore
Interface for getting the underlying state based on Beam state request (keyed state or operator
state).
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.state.ListState<byte[]>getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) ParseBeamFnApi.StateRequestand return the correspondingListState.org.apache.flink.api.common.state.MapState<ByteArrayWrapper,byte[]> getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) ParseBeamFnApi.StateRequestand return the correspondingMapState.static BeamStateStore
-
Field Details
-
PYTHON_STATE_PREFIX
- See Also:
-
-
Method Details
-
getListState
org.apache.flink.api.common.state.ListState<byte[]> getListState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception ParseBeamFnApi.StateRequestand return the correspondingListState.- Throws:
Exception
-
getMapState
org.apache.flink.api.common.state.MapState<ByteArrayWrapper,byte[]> getMapState(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request) throws Exception ParseBeamFnApi.StateRequestand return the correspondingMapState.- Throws:
Exception
-
unsupported
-