Class BeamBagStateHandler
java.lang.Object
org.apache.flink.streaming.api.runners.python.beam.state.AbstractBeamStateHandler<org.apache.flink.api.common.state.ListState<byte[]>>
org.apache.flink.streaming.api.runners.python.beam.state.BeamBagStateHandler
- All Implemented Interfaces:
BeamStateHandler<org.apache.flink.api.common.state.ListState<byte[]>>
public class BeamBagStateHandler
extends AbstractBeamStateHandler<org.apache.flink.api.common.state.ListState<byte[]>>
BeamBagStateHandler handles operations on
ListState, which backs Beam bag states.-
Constructor Summary
ConstructorsConstructorDescriptionBeamBagStateHandler(org.apache.flink.api.common.typeutils.TypeSerializer<?> namespaceSerializer) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.BuilderhandleAppend(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, org.apache.flink.api.common.state.ListState<byte[]> listState) Handles APPEND requests.org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.BuilderhandleClear(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, org.apache.flink.api.common.state.ListState<byte[]> listState) Handles CLEAR requests.org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.BuilderhandleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, org.apache.flink.api.common.state.ListState<byte[]> listState) Handles GET requests.Methods inherited from class org.apache.flink.streaming.api.runners.python.beam.state.AbstractBeamStateHandler
handle
-
Constructor Details
-
BeamBagStateHandler
public BeamBagStateHandler(@Nullable org.apache.flink.api.common.typeutils.TypeSerializer<?> namespaceSerializer)
-
-
Method Details
-
handleGet
public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, org.apache.flink.api.common.state.ListState<byte[]> listState) throws Exception Description copied from interface:BeamStateHandlerHandles 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, org.apache.flink.api.common.state.ListState<byte[]> listState) throws Exception Description copied from interface:BeamStateHandlerHandles 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, org.apache.flink.api.common.state.ListState<byte[]> listState) throws Exception Description copied from interface:BeamStateHandlerHandles CLEAR requests.- Throws:
Exception
-