Asynchronously executes a sequence of (statement, parameters) tuples concurrently. Args: session: Cassandra session object. statement_and_parameters: Iterable of (prepared CQL statement, bind parameters) tuples. concurrency (int, optional): Numbe
(self, statements_and_parameters, concurrency=100, raise_on_first_error=False, execution_profile=EXEC_PROFILE_DEFAULT)
| 2766 | return execute_concurrent_with_args(self, statement, parameters, *args, **kwargs) |
| 2767 | |
| 2768 | def execute_concurrent_async(self, statements_and_parameters, concurrency=100, raise_on_first_error=False, execution_profile=EXEC_PROFILE_DEFAULT): |
| 2769 | """ |
| 2770 | Asynchronously executes a sequence of (statement, parameters) tuples concurrently. |
| 2771 | |
| 2772 | Args: |
| 2773 | session: Cassandra session object. |
| 2774 | statement_and_parameters: Iterable of (prepared CQL statement, bind parameters) tuples. |
| 2775 | concurrency (int, optional): Number of concurrent operations. Default is 100. |
| 2776 | raise_on_first_error (bool, optional): If True, execution stops on the first error. Default is True. |
| 2777 | execution_profile (ExecutionProfile, optional): Execution profile to use. Default is EXEC_PROFILE_DEFAULT. |
| 2778 | |
| 2779 | Returns: |
| 2780 | A `Future` object that will be completed when all operations are done. |
| 2781 | """ |
| 2782 | from cassandra.concurrent import execute_concurrent_async |
| 2783 | return execute_concurrent_async(self, statements_and_parameters, concurrency, raise_on_first_error, execution_profile) |
| 2784 | |
| 2785 | def execute_graph(self, query, parameters=None, trace=False, execution_profile=EXEC_PROFILE_GRAPH_DEFAULT, execute_as=None): |
| 2786 | """ |
nothing calls this directly
no test coverage detected