basic sample code for reading paged data with chainCallable()
add a simpler API to read paged data