use of com.salesforce.soap.partner.QueryMore in project tdi-studio-se by Talend.
the class SforceManagementImpl method queryMore.
@Override
public QueryResult queryMore(QueryLocator queryLocator, int batchSize) throws Exception {
QueryOptions queryOptions = new QueryOptions();
queryOptions.setBatchSize(batchSize);
QueryMore queryMore = new QueryMore();
queryMore.setQueryLocator(queryLocator);
QueryResult qr = sforceConn.queryMore(queryMore, queryOptions).getResult();
return qr;
}
Aggregations