StatementSetPageSize Method |
Sets the page size for this query.
The page size controls how much resulting rows will be retrieved
simultaneously (the goal being to avoid loading too much results
in memory for queries yielding large results). Please note that
while value as low as 1 can be used, it is highly discouraged to
use such a low value in practice as it will yield very poor
performance. If in doubt, leaving the default is probably a good
idea.
Also note that only SELECT queries ever make use of that
setting.
the page size to use. If set to 0 or less, the default value will be used.
To disable paging of the result set, use int.MaxValue
Return Value
Type:
IStatementthis
Query object.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax See Also