Retrieve the current execution mode. @return true if the execution mode is batch; false otherwise.
()
| 422 | * @return true if the execution mode is batch; false otherwise. |
| 423 | */ |
| 424 | public boolean isBatchOn() { |
| 425 | // Batch is on when there are multiple graphs on the |
| 426 | // stack. That gives the right response even if multiquery was |
| 427 | // turned off. |
| 428 | return graphs.size() > 0; |
| 429 | } |
| 430 | |
| 431 | /** |
| 432 | * Returns whether there is anything to process in the current batch. |
no test coverage detected