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
ApiIOErroris 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 writePTransforms.Caller<RequestT,ResponseT> Callerinterfaces user custom code intended for API calls.CallShouldBackoff<ResponseT>Informs whether a call to an API should backoff.ConfiguresMetrics throughout various features ofRequestResponseIO.RequestResponseIO<RequestT,ResponseT> PTransformfor reading from and writing to Web APIs.Result<ResponseT>Provided by user and called withinDoFn.Setupand @{link org.apache.beam.sdk.transforms.DoFn.Teardown} lifecycle methods ofCall'sDoFn.BaseExceptionfor signaling errors in user custom code.ExtendsUserCodeQuotaExceptionto allow the user custom code to specifically signal a Quota or API overuse related error.AUserCodeExecutionExceptionthat signals an error with a remote system.An extension ofUserCodeQuotaExceptionto specifically signal a user code timeout.