Cassandra pagination: How to use get_slice to query a Cassandra 1.2 database from Python using the cql library

前端 未结 2 1112
春和景丽
春和景丽 2021-01-13 21:45

I have a Cassandra 1.2 cluster and I\'m using it from Python using the cql library. Now I need to implement some paging functionality that seems pretty straightforward using

2条回答
  •  星月不相逢
    2021-01-13 22:24

    An update for modern versions of Cassandra. All of the CQL3 native drivers can use server side paging (starting with Cassandra 2.0), so no need to go through the hassle of setting it up manually anymore.

提交回复
热议问题