AWSDynamoDBPaginatedOutput Class Reference

Inherits from NSObject
Declared in AWSDynamoDBObjectMapper.h
AWSDynamoDBObjectMapper.m

Overview

The paginated output object.

  items

The array of items.

@property (nonatomic, strong, readonly) NSArray<__kindofAWSDynamoDBObjectModel<AWSDynamoDBModeling> *> *items

Declared In

AWSDynamoDBObjectMapper.h

  lastEvaluatedKey

The last evaluated key.

@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString*AWSDynamoDBAttributeValue*> *lastEvaluatedKey

Declared In

AWSDynamoDBObjectMapper.h

– loadNextPage

Loads the next page of items when self.lastEvaluatedKey is not nil.

- (AWSTask *)loadNextPage

Return Value

task.error indicates why the request failed, or nil if the request was successful. task.result is always nil.

Declared In

AWSDynamoDBObjectMapper.h

– loadNextPageWithCompletionHandler:

Loads the next page of items when self.lastEvaluatedKey is not nil.

- (void)loadNextPageWithCompletionHandler:(void ( ^ _Nullable ) ( NSError *_Nullable error ))completionHandler

Parameters

completionHandler

The completion handler to call when the load request is complete. error: An error object that indicates why the request failed, or nil if the request was successful.

Declared In

AWSDynamoDBObjectMapper.h

– reload

Resets self.lastEvaluatedKey to nil and reloads the results from the beginning.

- (AWSTask *)reload

Return Value

task.error indicates why the request failed, or nil if the request was successful. task.result is always nil.

Declared In

AWSDynamoDBObjectMapper.h

– reloadWithCompletionHandler:

Resets self.lastEvaluatedKey to nil and reloads the results from the beginning.

- (void)reloadWithCompletionHandler:(void ( ^ _Nullable ) ( NSError *_Nullable error ))completionHandler

Parameters

completionHandler

The completion handler to call when the load request is complete. error: An error object that indicates why the request failed, ornil` if the request was successful.

Declared In

AWSDynamoDBObjectMapper.h