public abstract static class FhirIO.Write extends PTransform<PCollection<java.lang.String>,FhirIO.Write.Result>
Modifier and Type | Class and Description |
---|---|
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<ResourceId> |
TEMP_FILES
The tag for temp files for import to FHIR store`.
|
name
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)
Execute bundles write.
|
FhirIO.Write.Result |
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)
Create Method creates a single FHIR resource.
|
static FhirIO.Write |
fhirStoresImport(ValueProvider<java.lang.String> fhirStore,
ValueProvider<java.lang.String> gcsTempPath,
ValueProvider<java.lang.String> gcsDeadLetterPath,
FhirIO.Import.ContentStructure contentStructure) |
compose, compose, getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validate
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, @Nullable FhirIO.Import.ContentStructure contentStructure)
fhirStore
- the hl 7 v 2 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, @Nullable FhirIO.Import.ContentStructure contentStructure)
public static FhirIO.Write fhirStoresImport(ValueProvider<java.lang.String> fhirStore, ValueProvider<java.lang.String> gcsTempPath, ValueProvider<java.lang.String> gcsDeadLetterPath, @Nullable FhirIO.Import.ContentStructure contentStructure)
public static FhirIO.Write executeBundles(java.lang.String fhirStore)
fhirStore
- the hl 7 v 2 storepublic static FhirIO.Write executeBundles(ValueProvider<java.lang.String> fhirStore)
fhirStore
- the fhir storepublic FhirIO.Write.Result 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.Result>