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:
- At the end of a batch of rows generated by the query.
- Once, when there are no more results, indicating that the statement was closed or the query deleted. See Statement Closing and Query Definition Deletion.
As with the Query.Statement.executeWithCallback() function, you can provide a closure object when executing the statement.
Copyright © Cloud Software Group, Inc. All rights reserved.