Skip to content
Snippets Groups Projects
  • Piotr Maślanka's avatar
    v2.11.17_a2 · b0681fef
    Piotr Maślanka authored
    * added `wrap_future`
    * refactored `satella.cassandra`
    * deprecated tracing Cassandra's ResponseFutures directly
    b0681fef
cassandra.rst 614 B

Cassandra

This module is available only if you have cassandra-driver installed

wrap_future

parallel_for

If you have multiple async requests that would hit multiple nodes and you would prefer to make use of execute_async and want to better make use of them, here's the routine to help you out.

Note that if you specify an iterable instead of a string or a cassandra.query.Statement, different query will be applied to those arguments, as stemming from their ordering.