DataStax C# Driver for Apache Cassandra
DataStax C# Driver for Apache Cassandra
Namespaces
Cassandra
QueryOptions Class
QueryOptions Methods
GetConsistencyLevel Method
GetDefaultIdempotence Method
GetPageSize Method
GetSerialConsistencyLevel Method
IsPrepareOnAllHosts Method
IsReprepareOnUp Method
SetConsistencyLevel Method
SetDefaultIdempotence Method
SetPageSize Method
SetPrepareOnAllHosts Method
SetReprepareOnUp Method
SetRetryOnTimeout Method
SetSerialConsistencyLevel Method
QueryOptions
SetPageSize 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:
Cassandra
Assembly:
Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
Copy
public
QueryOptions
SetPageSize
(
int
pageSize
)
Parameters
pageSize
Type:
System
Int32
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:
QueryOptions
this QueryOptions instance
See Also
Reference
QueryOptions Class
Cassandra Namespace
DataStax C# Driver for Apache Cassandra User Mailing List
© 2019 DataStax, All rights reserved.