Execute a list of statements and parameters NOT returning data. :param iterable[tuple] statements_and_parameters: list of statements and parameters
(self, statements_and_parameters)
| 482 | return ret |
| 483 | |
| 484 | def _execute(self, statements_and_parameters): |
| 485 | """ |
| 486 | Execute a list of statements and parameters NOT returning data. |
| 487 | |
| 488 | :param iterable[tuple] statements_and_parameters: list of statements and parameters |
| 489 | """ |
| 490 | size = self.CONCURRENCY |
| 491 | for sub_sequence in CassandraClient.split_sequence(statements_and_parameters, size): |
| 492 | c_concurrent.execute_concurrent( |
| 493 | self._session, |
| 494 | sub_sequence, |
| 495 | concurrency=size, |
| 496 | ) |
| 497 | |
| 498 | def _buffer(self, statements_and_parameters): |
| 499 | """ |
no test coverage detected