Class FhirIO.Import
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.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:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- FhirIO
public static class FhirIO.Import extends FhirIO.Write
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 usingFhirIO.ExecuteBundlesto more safely execute bundles as transactions which is safer practice for a use on a "live" FHIR store.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFhirIO.Import.ContentStructureThe 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_FILES
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FhirIO.Write.Resultexpand(org.apache.beam.sdk.values.PCollection<java.lang.String> input)-
Methods inherited from class org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Write
executeBundles, executeBundles, fhirStoresImport, fhirStoresImport, fhirStoresImport
-
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
-
-
-
-
Method Detail
-
expand
public FhirIO.Write.Result expand(org.apache.beam.sdk.values.PCollection<java.lang.String> input)
- Overrides:
expandin classFhirIO.Write
-
-