Execute with Batch Callback Function

When you use the Query.Statement.executeWithBatchCallback() function, the agent calls the specified callback rule function once at the end of each batch of results. The data is provided as an array of all the rows in that batch.

The callback rule function is called in the following circumstances:

As with the Query.Statement.executeWithCallback() function, you can provide a closure object when executing the statement.