I have to write a function that returns CompletionStage. This function can query paginated data(async operation, returns data wrapped in completionStage) and process them an