public abstract class AbstractBeamStateHandler<S> extends Object implements BeamStateHandler<S>
BeamStateHandler
, which implements the common handle logic.Constructor and Description |
---|
AbstractBeamStateHandler() |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
S state)
Dispatches
BeamFnApi.StateRequest to different handle functions base on request case. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleAppend, handleClear, handleGet
public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, S state) throws Exception
BeamStateHandler
BeamFnApi.StateRequest
to different handle functions base on request case.handle
in interface BeamStateHandler<S>
Exception
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.