From 496674d04c3c2ea140956caf7a4cd370524f7dfe Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Tue, 24 Jun 2014 17:00:41 -0500 Subject: [PATCH] Document setting Session.default_fetch_size to None --- cassandra/cluster.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cassandra/cluster.py b/cassandra/cluster.py index 94302e53..839aeded 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -1091,8 +1091,10 @@ class Session(object): default_fetch_size = 5000 """ - By default, this many rows will be fetched at a time. This can be - specified per-query through :attr:`.Statement.fetch_size`. + By default, this many rows will be fetched at a time. Setting + this to :const:`None` will disable automatic paging for large query + results. The fetch size can be also specified per-query through + :attr:`.Statement.fetch_size`. This only takes effect when protocol version 2 or higher is used. See :attr:`.Cluster.protocol_version` for details.