CqlQueryTEntitySetPageSize 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.
Namespace: Cassandra.Data.LinqAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax public CqlQuery<TEntity> SetPageSize(
int pageSize
)
Parameters
- pageSize
- Type: SystemInt32
Return Value
Type:
CqlQueryTEntityThis instance
See Also