|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.model.BatchWriteItemResult
public class BatchWriteItemResult
Represents the output of a BatchWriteItem operation.
Constructor Summary | |
---|---|
BatchWriteItemResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<ConsumedCapacity> |
getConsumedCapacity()
The capacity units consumed by the operation. |
Map<String,List<ItemCollectionMetrics>> |
getItemCollectionMetrics()
A list of tables that were processed by BatchWriteItem and, for each table, information about any item collections that were affected by individual DeleteItem or PutItem operations. |
Map<String,List<WriteRequest>> |
getUnprocessedItems()
A map of tables, and requests against those tables, that were not processed with the current response. |
int |
hashCode()
|
void |
setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the operation. |
void |
setItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
A list of tables that were processed by BatchWriteItem and, for each table, information about any item collections that were affected by individual DeleteItem or PutItem operations. |
void |
setUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
A map of tables, and requests against those tables, that were not processed with the current response. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BatchWriteItemResult |
withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the operation. |
BatchWriteItemResult |
withConsumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the operation. |
BatchWriteItemResult |
withItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
A list of tables that were processed by BatchWriteItem and, for each table, information about any item collections that were affected by individual DeleteItem or PutItem operations. |
BatchWriteItemResult |
withUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
A map of tables, and requests against those tables, that were not processed with the current response. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BatchWriteItemResult()
Method Detail |
---|
public Map<String,List<WriteRequest>> getUnprocessedItems()
Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).
DeleteRequest-Perform a DeleteItem operation on the specified item. The item to be deleted is identified by:
Key-A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.
PutRequest-Perform a PutItem operation on the specified item. The item to be updated is identified by:
Constraints:
Length: 1 - 25
Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).
DeleteRequest-Perform a DeleteItem operation on the specified item. The item to be deleted is identified by:
Key-A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.
PutRequest-Perform a PutItem operation on the specified item. The item to be updated is identified by:
public void setUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).
DeleteRequest-Perform a DeleteItem operation on the specified item. The item to be deleted is identified by:
Key-A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.
PutRequest-Perform a PutItem operation on the specified item. The item to be updated is identified by:
Constraints:
Length: 1 - 25
unprocessedItems
- A map of tables, and requests against those tables, that were not
processed with the current response. This might be due to a response
exceeding the 1 MB HTTP payload limit, or an item in the batch
exceeding the 64 KB item size limit. The UnprocessedKeys value
is in the same form as RequestItems, so you can provide this
value directly to a subsequent BatchGetItem operation. For more
information, see RequestItems in the Request Parameters
section. Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).
DeleteRequest-Perform a DeleteItem operation on the specified item. The item to be deleted is identified by:
Key-A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.
PutRequest-Perform a PutItem operation on the specified item. The item to be updated is identified by:
public BatchWriteItemResult withUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).
DeleteRequest-Perform a DeleteItem operation on the specified item. The item to be deleted is identified by:
Key-A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.
PutRequest-Perform a PutItem operation on the specified item. The item to be updated is identified by:
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
unprocessedItems
- A map of tables, and requests against those tables, that were not
processed with the current response. This might be due to a response
exceeding the 1 MB HTTP payload limit, or an item in the batch
exceeding the 64 KB item size limit. The UnprocessedKeys value
is in the same form as RequestItems, so you can provide this
value directly to a subsequent BatchGetItem operation. For more
information, see RequestItems in the Request Parameters
section. Each UnprocessedItems entry consists of a table name and, for that table, a list of operations to perform (DeleteRequest or PutRequest).
DeleteRequest-Perform a DeleteItem operation on the specified item. The item to be deleted is identified by:
Key-A map of primary key attribute values that uniquely identify the item. Each entry in this map consists of an attribute name and an attribute value.
PutRequest-Perform a PutItem operation on the specified item. The item to be updated is identified by:
public Map<String,List<ItemCollectionMetrics>> getItemCollectionMetrics()
Each entry consists of:
ItemCollectionKey-the hash key value of the item collection. This is the same as the hash key of the item.
SizeEstimateRange-an estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the secondary indexes on that table. Use this estimate to measure whether a secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
Each entry consists of:
ItemCollectionKey-the hash key value of the item collection. This is the same as the hash key of the item.
SizeEstimateRange-an estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the secondary indexes on that table. Use this estimate to measure whether a secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
public void setItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
Each entry consists of:
ItemCollectionKey-the hash key value of the item collection. This is the same as the hash key of the item.
SizeEstimateRange-an estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the secondary indexes on that table. Use this estimate to measure whether a secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
itemCollectionMetrics
- A list of tables that were processed by BatchWriteItem and, for
each table, information about any item collections that were affected
by individual DeleteItem or PutItem operations. Each entry consists of:
ItemCollectionKey-the hash key value of the item collection. This is the same as the hash key of the item.
SizeEstimateRange-an estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the secondary indexes on that table. Use this estimate to measure whether a secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
public BatchWriteItemResult withItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
Each entry consists of:
ItemCollectionKey-the hash key value of the item collection. This is the same as the hash key of the item.
SizeEstimateRange-an estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the secondary indexes on that table. Use this estimate to measure whether a secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
Returns a reference to this object so that method calls can be chained together.
itemCollectionMetrics
- A list of tables that were processed by BatchWriteItem and, for
each table, information about any item collections that were affected
by individual DeleteItem or PutItem operations. Each entry consists of:
ItemCollectionKey-the hash key value of the item collection. This is the same as the hash key of the item.
SizeEstimateRange-an estimate of item collection size, measured in gigabytes. This is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the secondary indexes on that table. Use this estimate to measure whether a secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
public List<ConsumedCapacity> getConsumedCapacity()
Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
public void setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
consumedCapacity
- The capacity units consumed by the operation. Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
public BatchWriteItemResult withConsumedCapacity(ConsumedCapacity... consumedCapacity)
Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
Returns a reference to this object so that method calls can be chained together.
consumedCapacity
- The capacity units consumed by the operation. Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
public BatchWriteItemResult withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
Returns a reference to this object so that method calls can be chained together.
consumedCapacity
- The capacity units consumed by the operation. Each element consists of:
TableName-The table that consumed the provisioned throughput.
CapacityUnits-The total number of capacity units consumed.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |