@ThreadSafe public final class BatchGetResultPage extends Object
DynamoDbEnhancedClient.batchGetItem(BatchGetItemEnhancedRequest)
.
Use the resultsForTable(MappedTableResource)
method once for each table present in the request
to retrieve items from that table in the page.
Modifier and Type | Class and Description |
---|---|
static class |
BatchGetResultPage.Builder
A builder that is used to create a result object with the desired parameters.
|
Modifier and Type | Method and Description |
---|---|
static BatchGetResultPage.Builder |
builder()
Creates a newly initialized builder for a result object.
|
<T> List<T> |
resultsForTable(MappedTableResource<T> mappedTable)
Retrieve all items on this result page belonging to the supplied table.
|
List<Key> |
unprocessedKeysForTable(MappedTableResource<?> mappedTable)
Returns a list of keys associated with a given table that were not processed during the operation, typically
because the total size of the request is too large or exceeds the provisioned throughput of the table.
|
public static BatchGetResultPage.Builder builder()
public <T> List<T> resultsForTable(MappedTableResource<T> mappedTable)
T
- the type of the table itemsmappedTable
- the table to retrieve items forpublic List<Key> unprocessedKeysForTable(MappedTableResource<?> mappedTable)
mappedTable
- the table to retrieve the unprocessed keys forCopyright © 2022. All rights reserved.