Class BulkDataClient
- java.lang.Object
-
- com.ibm.fhir.operation.bulkdata.client.BulkDataClient
-
public class BulkDataClient extends Object
-
-
Constructor Summary
Constructors Constructor Description BulkDataClient(Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response.Status
delete(String job)
javax.ws.rs.client.WebTarget
getWebTarget(String baseURL)
PollingLocationResponse
status(String job)
String
submitExport(Instant since, List<String> types, Map<String,String> properties, BulkDataConstants.ExportType exportType, String systemExportVersion)
String
submitImport(String inputFormat, String inputSource, List<Input> inputs, StorageDetail storageDetail, Map<String,String> properties)
submit import job with bulkdata.void
verifyTenant(JobParameter jobParameters)
verifies the tenant based on the job parameters.
-
-
-
Method Detail
-
getWebTarget
public javax.ws.rs.client.WebTarget getWebTarget(String baseURL) throws Exception
- Throws:
Exception
-
submitExport
public String submitExport(Instant since, List<String> types, Map<String,String> properties, BulkDataConstants.ExportType exportType, String systemExportVersion) throws Exception
- Parameters:
since
-types
-properties
-exportType
-- Returns:
- Throws:
Exception
-
status
public PollingLocationResponse status(String job) throws Exception
- Parameters:
job
-- Returns:
- Throws:
Exception
-
delete
public javax.ws.rs.core.Response.Status delete(String job) throws Exception
- Parameters:
job
-- Returns:
- status code
- Throws:
Exception
-
verifyTenant
public void verifyTenant(JobParameter jobParameters) throws FHIROperationException
verifies the tenant based on the job parameters.- Parameters:
jobParameters
-- Throws:
FHIROperationException
-
submitImport
public String submitImport(String inputFormat, String inputSource, List<Input> inputs, StorageDetail storageDetail, Map<String,String> properties) throws Exception
submit import job with bulkdata.- Parameters:
inputFormat
-inputSource
-inputs
-storageDetail
-properties
-- Returns:
- Throws:
Exception
-
-