Class BeamMapStateHandler
- java.lang.Object
-
- org.apache.flink.streaming.api.runners.python.beam.state.AbstractBeamStateHandler<MapState<ByteArrayWrapper,byte[]>>
-
- org.apache.flink.streaming.api.runners.python.beam.state.BeamMapStateHandler
-
- All Implemented Interfaces:
BeamStateHandler<MapState<ByteArrayWrapper,byte[]>>
public class BeamMapStateHandler extends AbstractBeamStateHandler<MapState<ByteArrayWrapper,byte[]>>
BeamMapStateHandler handles operations on aMapState
.
-
-
Constructor Summary
Constructors Constructor Description BeamMapStateHandler(ReadableConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder
handleAppend(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, MapState<ByteArrayWrapper,byte[]> mapState)
Handles APPEND requests.org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder
handleClear(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, MapState<ByteArrayWrapper,byte[]> mapState)
Handles CLEAR requests.org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder
handleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, MapState<ByteArrayWrapper,byte[]> mapState)
Handles GET requests.-
Methods inherited from class org.apache.flink.streaming.api.runners.python.beam.state.AbstractBeamStateHandler
handle
-
-
-
-
Constructor Detail
-
BeamMapStateHandler
public BeamMapStateHandler(ReadableConfig config)
-
-
Method Detail
-
handleGet
public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, MapState<ByteArrayWrapper,byte[]> mapState) throws Exception
Description copied from interface:BeamStateHandler
Handles GET requests.- Throws:
Exception
-
handleAppend
public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleAppend(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, MapState<ByteArrayWrapper,byte[]> mapState) throws Exception
Description copied from interface:BeamStateHandler
Handles APPEND requests.- Throws:
Exception
-
handleClear
public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleClear(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, MapState<ByteArrayWrapper,byte[]> mapState) throws Exception
Description copied from interface:BeamStateHandler
Handles CLEAR requests.- Throws:
Exception
-
-