Garmaine Staff asked 2 years ago

I have a Java web application making use of DynamoDBMapper for easier data persistence within DynamoDB. In one use case I have a very large number of items that I would like to be able to paginate through manually in an Angular web app. However, I've come across numerous documents that talk about DynamoDBMapper's support for automatic pagination (see here) wherein results are lazy-loaded on an as-needed basis.

Is there a way to paginate through my results manually? That is, I'd like to specify a start value (either an index or last-loaded key) and retrieve a maximum number of results so that I can paginate on my own terms. I haven't been able to find any documentation outlining how to do this. Is this possible?