(List<DeferredExecution> executions, boolean forceBulk)
| 706 | } |
| 707 | |
| 708 | private CompletableFuture<?> exec(List<DeferredExecution> executions, boolean forceBulk) { |
| 709 | if (executions.size() == 1 && !forceBulk) { |
| 710 | var toExec = executions.get(0); |
| 711 | return singleExec(toExec.portal(), toExec.resultReceiver(), toExec.maxRows()); |
| 712 | } else { |
| 713 | return bulkExec(executions); |
| 714 | } |
| 715 | } |
| 716 | |
| 717 | private CompletableFuture<?> bulkExec(List<DeferredExecution> toExec) { |
| 718 | assert !toExec.isEmpty() : "Must have at least 1 deferred execution for bulk exec"; |
no test coverage detected