public class BeamMapStateHandler extends AbstractBeamStateHandler<MapState<ByteArrayWrapper,byte[]>>
MapState
.Constructor and Description |
---|
BeamMapStateHandler(ReadableConfig config) |
Modifier and Type | Method and 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.
|
handle
public BeamMapStateHandler(ReadableConfig config)
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
BeamStateHandler
Exception
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
BeamStateHandler
Exception
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
BeamStateHandler
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.