Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.