Is there any option to fetch data with limit or size from set. which can be helpful to implement pagination. like to pass offset and size in sql.
“ScanPolicy.scanPercent” will roughly limit scan data. Pagination is not really viable for a number of reasons.
The server does not accept an “offset”.
Server nodes return data at random times when nodes are scanned in parallel (default). Nodes can be scanned in series by setting “ScanPolicy.maxConcurrentNodes = 1”
A single server node can still return data at random if data migrations are occurring.
thanks, will server return result list in same order each time?
If migrations (data shifted among server nodes) have occurred, then the order will not be the same. Migrations typically happen when nodes are added or removed from the cluster.