public static class FhirIO.ExecuteBundles extends PTransform<PCollection<FhirBundleParameter>,FhirIO.ExecuteBundlesResult>
Modifier and Type | Field and Description |
---|---|
static TupleTag<HealthcareIOError<FhirBundleParameter>> |
FAILED_BUNDLES
The TupleTag used for bundles that failed to be executed for any reason.
|
static TupleTag<FhirBundleResponse> |
SUCCESSFUL_BUNDLES
The TupleTag used for bundles that were executed successfully.
|
name, resourceHints
Constructor and Description |
---|
ExecuteBundles(java.lang.String fhirStore) |
ExecuteBundles(ValueProvider<java.lang.String> fhirStore)
Instantiates a new Execute bundles.
|
Modifier and Type | Method and Description |
---|---|
FhirIO.ExecuteBundlesResult |
expand(PCollection<FhirBundleParameter> input)
Override this method to specify how this
PTransform should be expanded on the given
InputT . |
ValueProvider<java.lang.String> |
getFhirStore() |
compose, compose, getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setResourceHints, toString, validate
public static final TupleTag<FhirBundleResponse> SUCCESSFUL_BUNDLES
public static final TupleTag<HealthcareIOError<FhirBundleParameter>> FAILED_BUNDLES
public ExecuteBundles(ValueProvider<java.lang.String> fhirStore)
fhirStore
- the fhir storepublic ExecuteBundles(java.lang.String fhirStore)
public ValueProvider<java.lang.String> getFhirStore()
public FhirIO.ExecuteBundlesResult expand(PCollection<FhirBundleParameter> input)
PTransform
PTransform
should be expanded on the given
InputT
.
NOTE: This method should not be called directly. Instead apply the PTransform
should
be applied to the InputT
using the apply
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).
expand
in class PTransform<PCollection<FhirBundleParameter>,FhirIO.ExecuteBundlesResult>