QueryOptionsSetPageSize Method |
Sets the default page size to use for SELECT queries.
The page size set through this method will be use for queries
that don't explicitely have a page size.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax public QueryOptions SetPageSize(
int pageSize
)
Parameters
- pageSize
- Type: SystemInt32
the new page size to set as default. It must be
strictly positive but you can use int.MaxValue to disable paging.
Return Value
Type:
QueryOptionsthis QueryOptions instance
See Also