Click or drag to resize
ICqlQueryAsyncClientFetchPageAsyncT 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.Mapping
Assembly: Dse (in Dse.dll) Version: 2.3.0
Syntax
C#
Task<IPage<T>> FetchPageAsync<T>(
	int pageSize,
	byte[] pagingState,
	string query,
	Object[] args
)

Parameters

pageSize
Type: SystemInt32
Amount of items to return
pagingState
Type: SystemByte
The token representing the state of the result page. To get the first page, use a null value.
query
Type: SystemString
Cql query
args
Type: SystemObject
Query parameters

Type Parameters

T

Return Value

Type: TaskIPageT
See Also