Class FhirIO.Import
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<String>,FhirIO.Write.AbstractResult>
org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Write
org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Import
- All Implemented Interfaces:
Serializable,HasDisplayData
- Enclosing class:
FhirIO
Writes each bundle of elements to a new-line delimited JSON file on GCS and issues a
fhirStores.import Request for that file. This is intended for batch use only to facilitate
large backfills to empty FHIR stores and should not be used with unbounded PCollections. If
your use case is streaming checkout using
FhirIO.ExecuteBundles to more safely execute bundles
as transactions which is safer practice for a use on a "live" FHIR store.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum Content structure.Nested classes/interfaces inherited from class org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Write
FhirIO.Write.AbstractResult, FhirIO.Write.Result, FhirIO.Write.WriteMethod -
Field Summary
Fields inherited from class org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Write
FAILED_BODY, FAILED_FILES, SUCCESSFUL_BODY, TEMP_FILESFields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints -
Method Summary
Modifier and TypeMethodDescriptionexpand(PCollection<String> input) Override this method to specify how thisPTransformshould be expanded on the givenInputT.Methods inherited from class org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Write
executeBundles, executeBundles, fhirStoresImport, fhirStoresImport, fhirStoresImportMethods 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
-
Method Details
-
expand
Description copied from class:PTransformOverride this method to specify how thisPTransformshould be expanded on the givenInputT.NOTE: This method should not be called directly. Instead apply the
PTransformshould be applied to theInputTusing theapplymethod.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).
- Overrides:
expandin classFhirIO.Write
-