ICqlQueryClient.FetchPage<T> Method (Int32,Byte[], String,Object[]) |
Gets a paged list of T results from Cassandra.
Suitable for manually page through all the results of a query.
Namespace: Dse.MappingAssembly: Dse (in Dse.dll) Version: 2.2.0
SyntaxIPage<T> FetchPage<T>(
int pageSize,
byte[] pagingState,
string query,
Object[] args
)
Parameters
- pageSize
- Type: System.Int32
Amount of items to return - pagingState
- Type:System.Byte[]
The token representing the state of the result page. To get the first page, use a null value. - query
- Type: System.String
Cql query - args
- Type:System.Object[]
Query parameters
Type Parameters
- T
Return Value
Type:
IPage<T>
See Also