springml / salesforce-wave-api

Java client for Salesforce Wave API
Apache License 2.0
12 stars 9 forks source link

Expose bulk query functionality for the Bulk API #6

Closed k4jiang closed 6 years ago

k4jiang commented 6 years ago

Reference: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_using_bulk_query.htm

Expose functionality to perform Bulk Queries and fetch for batch results when dealing with larger datasets. This includes two new methods: 1) Get list of Batch Result IDs ex) GET baseURI/job/750x00000000014/batch/751x00000000030/result 2) Get Bulk Query Results ex) GET baseURI/job/750x00000000014/batch/751x00000000030/result/752x000000000

k4jiang commented 6 years ago

Do not merge this PR yet. The API for fetching the Batch Result IDs from Salesforce is not working at the moment. It is returning two very different response bodies. Example of the two different formats: 1) [123312321,13214214] 2) <result-list xmlns=\"http://www.force.com/2009/06/asyncapi/dataload\"><result>123312321,13214214</result><result>123312321,13214214</result></result-list>

samuel-pt commented 6 years ago

As mentioned earlier, please prefix the title it with [NO MERGE]

k4jiang commented 6 years ago

The issue is fixed. Feel free to merge whenever ready.