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: Dse.Data.LinqAssembly: Dse (in Dse.dll) Version: 2.3.0
Syntax public CqlQuery<TEntity> SetPageSize(
int pageSize
)
Parameters
- pageSize
- Type: SystemInt32
Return Value
Type:
CqlQueryTEntityThis instance
See Also