Class BulkDataClient


  • public class BulkDataClient
    extends java.lang.Object
    BulkData Client to connect to the other server.
    • Constructor Summary

      Constructors 
      Constructor Description
      BulkDataClient​(java.lang.String bulkdataSource, java.lang.String outcomeSource, java.lang.String incomingUrl, java.lang.String baseUri, ConfigurationAdapter adapter)  
    • Constructor Detail

      • BulkDataClient

        public BulkDataClient​(java.lang.String bulkdataSource,
                              java.lang.String outcomeSource,
                              java.lang.String incomingUrl,
                              java.lang.String baseUri,
                              ConfigurationAdapter adapter)
        Parameters:
        bulkdataSource - the source
        outcomeSource -
        incomingUrl -
        baseUri -
        adapter -
    • Method Detail

      • submitExport

        public java.lang.String submitExport​(Instant since,
                                             java.util.Set<java.lang.String> types,
                                             OperationConstants.ExportType exportType,
                                             java.lang.String outputFormat,
                                             java.lang.String typeFilters,
                                             java.lang.String groupId)
                                      throws java.lang.Exception
        Submit the export job.
        Parameters:
        since -
        types -
        exportType -
        outputFormat -
        typeFilters -
        groupId -
        Returns:
        Throws:
        java.lang.Exception
      • status

        public PollingLocationResponse status​(java.lang.String job)
                                       throws java.lang.Exception
        Parameters:
        job -
        Returns:
        a PollingLocationResponse or null if the job is still running
        Throws:
        java.lang.Exception
      • submitImport

        public java.lang.String submitImport​(java.lang.String inputFormat,
                                             java.lang.String inputSource,
                                             java.util.List<Input> inputs,
                                             StorageDetail storageDetail)
                                      throws java.lang.Exception
        submit import job with bulkdata.
        Parameters:
        inputFormat -
        inputSource -
        inputs -
        storageDetail -
        Returns:
        Throws:
        java.lang.Exception