public interface BeamStateHandler<S>
BeamFnApi.StateRequest
.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. |
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
handleAppend(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
S state)
Handles APPEND requests.
|
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
handleClear(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
S state)
Handles CLEAR requests.
|
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder |
handleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request,
S state)
Handles GET requests.
|
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handle(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, S state) throws Exception
BeamFnApi.StateRequest
to different handle functions base on request case.Exception
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleGet(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, S state) throws Exception
Exception
org.apache.beam.model.fnexecution.v1.BeamFnApi.StateResponse.Builder handleAppend(org.apache.beam.model.fnexecution.v1.BeamFnApi.StateRequest request, S state) throws Exception
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.