QueryEach
Iterates over query rows and passes each row per iteration to a callback function
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The query to iterate over | |
|
|
| The function to invoke for each item. The function will be passed 3 arguments: the row, the currentRow, the query. You can alternatively pass a Java Consumer which will only receive the 1st arg. | |
|
|
| Specifies whether the items can be executed in parallel |
|
|
|
| The maximum number of threads to use when parallel = true |
Examples
Related
Last updated