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.MappingAssembly: Dse (in Dse.dll) Version: 2.4.0
Syntax 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:
TaskIPageTSee Also