Class AbstractBeamStateHandler<S>
- java.lang.Object
-
- org.apache.flink.streaming.api.runners.python.beam.state.AbstractBeamStateHandler<S>
-
- All Implemented Interfaces:
BeamStateHandler<S>
- Direct Known Subclasses:
BeamBagStateHandler
,BeamMapStateHandler
public abstract class AbstractBeamStateHandler<S> extends Object implements BeamStateHandler<S>
Abstract class extendsBeamStateHandler
, which implements the common handle logic.
-
-
Constructor Summary
Constructors Constructor Description AbstractBeamStateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder
handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, S state)
DispatchesBeamFnApi.StateRequest
to different handle functions base on request case.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.streaming.api.runners.python.beam.state.BeamStateHandler
handleAppend, handleClear, handleGet
-
-
-
-
Method Detail
-
handle
public org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, S state) throws Exception
Description copied from interface:BeamStateHandler
DispatchesBeamFnApi.StateRequest
to different handle functions base on request case.- Specified by:
handle
in interfaceBeamStateHandler<S>
- Throws:
Exception
-
-