MapperFetchPageAsyncT 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.3.0
Syntax public 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:
TaskIPageTImplements
ICqlQueryAsyncClientFetchPageAsyncT(Int32, Byte, String, Object)See Also