Click or drag to resize
Mapper.FetchPageAsync<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: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.6.0
Syntax
C#
public Task<IPage<T>> FetchPageAsync<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: Task<IPage<T>>

Implements

ICqlQueryAsyncClient.FetchPageAsync<T>(Int32,Byte[], String,Object[])
See Also