public class DefaultBulkApiV2Client extends AbstractClientBase implements BulkApiV2Client
AbstractClientBase.ClientResponseCallbackBulkApiV2Client.JobResponseCallback, BulkApiV2Client.JobsResponseCallback, BulkApiV2Client.QueryJobResponseCallback, BulkApiV2Client.QueryJobsResponseCallback, BulkApiV2Client.ResponseCallback, BulkApiV2Client.StreamResponseCallbackaccessToken, APPLICATION_JSON_UTF8, APPLICATION_XML_UTF8, httpClient, instanceUrl, log, loginConfig, session, version| Constructor and Description |
|---|
DefaultBulkApiV2Client(String version,
SalesforceSession session,
SalesforceHttpClient httpClient,
SalesforceLoginConfig loginConfig,
SalesforceEndpoint endpoint) |
doStart, doStop, getHttpClient, getRequest, getRequest, onLogin, onLogout, setAccessToken, setInstanceUrlbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic DefaultBulkApiV2Client(String version, SalesforceSession session, SalesforceHttpClient httpClient, SalesforceLoginConfig loginConfig, SalesforceEndpoint endpoint) throws SalesforceException
SalesforceExceptionpublic void createJob(Job job, Map<String,List<String>> headers, BulkApiV2Client.JobResponseCallback callback)
createJob in interface BulkApiV2Clientpublic void getJob(String jobId, Map<String,List<String>> headers, BulkApiV2Client.JobResponseCallback callback)
getJob in interface BulkApiV2Clientpublic void createBatch(InputStream batchStream, String jobId, Map<String,List<String>> headers, BulkApiV2Client.ResponseCallback callback)
createBatch in interface BulkApiV2Clientpublic void changeJobState(String jobId, JobStateEnum state, Map<String,List<String>> headers, BulkApiV2Client.JobResponseCallback callback)
changeJobState in interface BulkApiV2Clientpublic void deleteJob(String jobId, Map<String,List<String>> headers, BulkApiV2Client.ResponseCallback callback)
deleteJob in interface BulkApiV2Clientpublic void getSuccessfulResults(String jobId, Map<String,List<String>> headers, BulkApiV2Client.StreamResponseCallback callback)
getSuccessfulResults in interface BulkApiV2Clientpublic void getFailedResults(String jobId, Map<String,List<String>> headers, BulkApiV2Client.StreamResponseCallback callback)
getFailedResults in interface BulkApiV2Clientpublic void getUnprocessedRecords(String jobId, Map<String,List<String>> headers, BulkApiV2Client.StreamResponseCallback callback)
getUnprocessedRecords in interface BulkApiV2Clientpublic void getAllJobs(String queryLocator, Map<String,List<String>> headers, BulkApiV2Client.JobsResponseCallback callback)
getAllJobs in interface BulkApiV2Clientpublic void createQueryJob(QueryJob queryJob, Map<String,List<String>> headers, BulkApiV2Client.QueryJobResponseCallback callback)
createQueryJob in interface BulkApiV2Clientpublic void getQueryJob(String jobId, Map<String,List<String>> headers, BulkApiV2Client.QueryJobResponseCallback callback)
getQueryJob in interface BulkApiV2Clientpublic void getQueryJobResults(String jobId, Map<String,List<String>> headers, BulkApiV2Client.StreamResponseCallback callback)
getQueryJobResults in interface BulkApiV2Clientpublic void changeQueryJobState(String jobId, JobStateEnum state, Map<String,List<String>> headers, BulkApiV2Client.QueryJobResponseCallback callback)
changeQueryJobState in interface BulkApiV2Clientpublic void deleteQueryJob(String jobId, Map<String,List<String>> headers, BulkApiV2Client.ResponseCallback callback)
deleteQueryJob in interface BulkApiV2Clientpublic void getAllQueryJobs(String queryLocator, Map<String,List<String>> headers, BulkApiV2Client.QueryJobsResponseCallback callback)
getAllQueryJobs in interface BulkApiV2Clientprotected void doHttpRequest(org.eclipse.jetty.client.api.Request request,
AbstractClientBase.ClientResponseCallback callback)
doHttpRequest in class AbstractClientBaseprotected SalesforceException createRestException(org.eclipse.jetty.client.api.Response response, InputStream responseContent)
createRestException in class AbstractClientBaseprotected void setAccessToken(org.eclipse.jetty.client.api.Request request)
setAccessToken in class AbstractClientBaseApache Camel