public class ReadRowsResumptionStrategy implements StreamResumptionStrategy<Storage.ReadRowsRequest,Storage.ReadRowsResponse>
An implementation of a StreamResumptionStrategy for the ReadRows API. This class tracks
the offset of the last row received and, upon retry, attempts to resume the stream at the next
offset.
This class is considered an internal implementation detail and not meant to be used by
applications.
public Storage.ReadRowsRequest getResumeRequest(Storage.ReadRowsRequest originalRequest)
Given the initial/original request, this implementation generates a request that will yield
a new stream whose first response would come right after the last response received by
processResponse. It takes into account the offset from the original request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]