Class CosExportImpl
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.processor.impl.CosExportImpl
-
- All Implemented Interfaces:
ExportImportBulkData
public class CosExportImpl extends Object implements ExportImportBulkData
Import from or export to IBM Cloud Object Storage (COS) or similar S3-compatible object stores
-
-
Constructor Summary
Constructors Constructor Description CosExportImpl(Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBaseUri(FHIROperationContext operationContext, Map<String,String> tmpProperties)
Parameters
delete(String job, FHIROperationContext operationContext)
deletes the export/import jobParameters
export(String logicalId, BulkDataConstants.ExportType exportType, javax.ws.rs.core.MediaType outputFormat, Instant since, List<String> types, List<String> typeFilters, FHIROperationContext operationContext, FHIRResourceHelpers resourceHelper)
Pattern: GET [Base]/$export Pattern: GET [Base]/Patient/$export Pattern: GET [Base]/Group/[id]/$export Internally, call - GET [base]/Patient?_has:Group:member:_id=GroupIdParameters
importBulkData(String inputFormat, String inputSource, List<Input> inputs, StorageDetail storageDetail, FHIROperationContext operationContext)
Pattern: POST [Base]/$importParameters
status(String job, FHIROperationContext operationContext)
checks the status of the export/import job
-
-
-
Method Detail
-
export
public Parameters export(String logicalId, BulkDataConstants.ExportType exportType, javax.ws.rs.core.MediaType outputFormat, Instant since, List<String> types, List<String> typeFilters, FHIROperationContext operationContext, FHIRResourceHelpers resourceHelper) throws FHIROperationException
Description copied from interface:ExportImportBulkData
Pattern: GET [Base]/$export Pattern: GET [Base]/Patient/$export Pattern: GET [Base]/Group/[id]/$export Internally, call - GET [base]/Patient?_has:Group:member:_id=GroupId- Specified by:
export
in interfaceExportImportBulkData
- Returns:
- Throws:
FHIROperationException
-
addBaseUri
public void addBaseUri(FHIROperationContext operationContext, Map<String,String> tmpProperties)
-
status
public Parameters status(String job, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
checks the status of the export/import job- Specified by:
status
in interfaceExportImportBulkData
- Returns:
- Throws:
FHIROperationException
-
delete
public Parameters delete(String job, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
deletes the export/import job- Specified by:
delete
in interfaceExportImportBulkData
- Returns:
- Throws:
FHIROperationException
-
importBulkData
public Parameters importBulkData(String inputFormat, String inputSource, List<Input> inputs, StorageDetail storageDetail, FHIROperationContext operationContext) throws FHIROperationException
Description copied from interface:ExportImportBulkData
Pattern: POST [Base]/$import- Specified by:
importBulkData
in interfaceExportImportBulkData
- Returns:
- Throws:
FHIROperationException
-
-