public abstract static class FhirIO.Write
extends <any>
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<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.
|
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.Result |
expand(PCollection<java.lang.String> input) |
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) |
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.Result expand(PCollection<java.lang.String> input)