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