public final class BatchWriteResult extends Object
DynamoDbEnhancedClient.batchWriteItem(BatchWriteItemEnhancedRequest)
. The result describes any unprocessed items
after the operation completes.
unprocessedPutItemsForTable(MappedTableResource)
method once for each table present in the request
to get any unprocessed items from a put action on that table.unprocessedDeleteItemsForTable(MappedTableResource)
method once for each table present in the request
to get any unprocessed items from a delete action on that table.Modifier and Type | Class and Description |
---|---|
static class |
BatchWriteResult.Builder
A builder that is used to create a result with the desired parameters.
|
Modifier and Type | Method and Description |
---|---|
static BatchWriteResult.Builder |
builder()
Creates a newly initialized builder for a request object.
|
List<Key> |
unprocessedDeleteItemsForTable(MappedTableResource<?> mappedTable)
Retrieve any unprocessed delete action keys belonging to the supplied table from the result.
|
<T> List<T> |
unprocessedPutItemsForTable(MappedTableResource<T> mappedTable)
Retrieve any unprocessed put action items belonging to the supplied table from the result .
|
public static BatchWriteResult.Builder builder()
public <T> List<T> unprocessedPutItemsForTable(MappedTableResource<T> mappedTable)
T
- the type of the table itemsmappedTable
- the table to retrieve unprocessed items forpublic List<Key> unprocessedDeleteItemsForTable(MappedTableResource<?> mappedTable)
mappedTable
- the table to retrieve unprocessed items for.Copyright © 2020. All rights reserved.