Package org.apache.beam.io.requestresponse
package org.apache.beam.io.requestresponse
Package provides Beam I/O transform support for safely reading from and writing to Web APIs.
-
ClassDescription
ApiIOError
is a data class for storing details about an error.Transforms for reading and writing request/response associations to a cache.Cache.Pair<RequestT,ResponseT> A simple POJO that holds both cache read and writePTransform
s.Caller<RequestT,ResponseT> Caller
interfaces user custom code intended for API calls.CallShouldBackoff<ResponseT>Informs whether a call to an API should backoff.ConfiguresMetric
s throughout various features ofRequestResponseIO
.RequestResponseIO<RequestT,ResponseT> PTransform
for reading from and writing to Web APIs.Result<ResponseT>Provided by user and called withinDoFn.Setup
and @{link org.apache.beam.sdk.transforms.DoFn.Teardown} lifecycle methods ofCall
'sDoFn
.BaseException
for signaling errors in user custom code.ExtendsUserCodeQuotaException
to allow the user custom code to specifically signal a Quota or API overuse related error.AUserCodeExecutionException
that signals an error with a remote system.An extension ofUserCodeQuotaException
to specifically signal a user code timeout.