Interface BulkUploadService

All Superinterfaces:
UploadService

public interface BulkUploadService extends UploadService
API for posting local SolarNode data to a remote server in bulk.
Version:
1.2
Author:
matt
  • Method Details

    • uploadBulkDatum

      List<BulkUploadResult> uploadBulkDatum(Collection<NodeDatum> data)
      Upload Datum data in bulk.

      The returned list of results will be ordered in normal iterating order for the passed in data Collection, and will contain exactly the same number of objects (one for each Datum). The BulkUploadResult.getId() value can be used to determine if the Datum was uploaded successfully (if it is non-null, it should be considered successfully uploaded).

      If the supplied Datum object is not supported by an implementation this method will throw an IllegalArgumentException.

      Parameters:
      data - the data to upload
      Returns:
      list of BulkUploadResult objects