Class FhirIO.ExecuteBundles
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<FhirBundleParameter>,FhirIO.ExecuteBundlesResult>
org.apache.beam.sdk.io.gcp.healthcare.FhirIO.ExecuteBundles
- All Implemented Interfaces:
Serializable
,HasDisplayData
- Enclosing class:
FhirIO
public static class FhirIO.ExecuteBundles
extends PTransform<PCollection<FhirBundleParameter>,FhirIO.ExecuteBundlesResult>
The type Execute bundles.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TupleTag
<HealthcareIOError<FhirBundleParameter>> The TupleTag used for bundles that failed to be executed for any reason.static final TupleTag
<FhirBundleResponse> The TupleTag used for bundles that were executed successfully.Fields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteBundles
(String fhirStore) ExecuteBundles
(ValueProvider<String> fhirStore) Instantiates a new Execute bundles. -
Method Summary
Modifier and TypeMethodDescriptionexpand
(PCollection<FhirBundleParameter> input) Override this method to specify how thisPTransform
should be expanded on the givenInputT
.Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
-
Field Details
-
SUCCESSFUL_BUNDLES
The TupleTag used for bundles that were executed successfully. -
FAILED_BUNDLES
The TupleTag used for bundles that failed to be executed for any reason.
-
-
Constructor Details
-
ExecuteBundles
Instantiates a new Execute bundles.- Parameters:
fhirStore
- the fhir store
-
ExecuteBundles
-
-
Method Details
-
getFhirStore
-
expand
Description copied from class:PTransform
Override this method to specify how thisPTransform
should be expanded on the givenInputT
.NOTE: This method should not be called directly. Instead apply the
PTransform
should be applied to theInputT
using theapply
method.Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).
- Specified by:
expand
in classPTransform<PCollection<FhirBundleParameter>,
FhirIO.ExecuteBundlesResult>
-