public abstract static class FhirIO.Write extends PTransform<PCollection<java.lang.String>,FhirIO.Write.AbstractResult>
Modifier and Type | Class and Description |
---|---|
static class |
FhirIO.Write.AbstractResult |
static class |
FhirIO.Write.Result
The type Result.
|
static class |
FhirIO.Write.WriteMethod
The enum Write method.
|
Modifier and Type | Field and Description |
---|---|
static TupleTag<HealthcareIOError<java.lang.String>> |
FAILED_BODY
The tag for the failed writes to FHIR store.
|
static TupleTag<HealthcareIOError<java.lang.String>> |
FAILED_FILES
The tag for the files that failed to FHIR store.
|
static TupleTag<java.lang.String> |
SUCCESSFUL_BODY
The tag for successful writes to FHIR store.
|
static TupleTag<ResourceId> |
TEMP_FILES
The tag for temp files for import to FHIR store.
|
annotations, displayData, name, resourceHints
Constructor and Description |
---|
Write() |
Modifier and Type | Method and Description |
---|---|
static FhirIO.Write |
executeBundles(java.lang.String fhirStore)
|
static FhirIO.Write |
executeBundles(ValueProvider<java.lang.String> fhirStore)
|
FhirIO.Write.AbstractResult |
expand(PCollection<java.lang.String> input)
Override this method to specify how this
PTransform should be expanded on the given
InputT . |
static FhirIO.Write |
fhirStoresImport(java.lang.String fhirStore,
java.lang.String gcsDeadLetterPath,
FhirIO.Import.ContentStructure contentStructure) |
static FhirIO.Write |
fhirStoresImport(java.lang.String fhirStore,
java.lang.String gcsTempPath,
java.lang.String gcsDeadLetterPath,
FhirIO.Import.ContentStructure contentStructure)
Import method for batch writing resources.
|
static FhirIO.Write |
fhirStoresImport(ValueProvider<java.lang.String> fhirStore,
ValueProvider<java.lang.String> gcsTempPath,
ValueProvider<java.lang.String> gcsDeadLetterPath,
FhirIO.Import.ContentStructure contentStructure) |
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
public static final TupleTag<java.lang.String> SUCCESSFUL_BODY
public static final TupleTag<HealthcareIOError<java.lang.String>> FAILED_BODY
public static final TupleTag<HealthcareIOError<java.lang.String>> FAILED_FILES
public static final TupleTag<ResourceId> TEMP_FILES
public static FhirIO.Write fhirStoresImport(java.lang.String fhirStore, java.lang.String gcsTempPath, java.lang.String gcsDeadLetterPath, FhirIO.Import.ContentStructure contentStructure)
fhirStore
- the FHIR storegcsTempPath
- the gcs temp pathgcsDeadLetterPath
- the gcs dead letter pathcontentStructure
- the content structurepublic static FhirIO.Write fhirStoresImport(java.lang.String fhirStore, java.lang.String gcsDeadLetterPath, FhirIO.Import.ContentStructure contentStructure)
public static FhirIO.Write fhirStoresImport(ValueProvider<java.lang.String> fhirStore, ValueProvider<java.lang.String> gcsTempPath, ValueProvider<java.lang.String> gcsDeadLetterPath, FhirIO.Import.ContentStructure contentStructure)
public static FhirIO.Write executeBundles(java.lang.String fhirStore)
fhirStore
- the fhir storepublic static FhirIO.Write executeBundles(ValueProvider<java.lang.String> fhirStore)
fhirStore
- the fhir storepublic FhirIO.Write.AbstractResult expand(PCollection<java.lang.String> 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<java.lang.String>,FhirIO.Write.AbstractResult>