public class ItemCollectionMetrics
extends java.lang.Object
implements java.io.Serializable
Information about item collections, if any, that were affected by the operation. ItemCollectionMetrics is only returned if it was asked for in the request. If the table does not have any secondary indexes, this information is not returned in the response.
| コンストラクタと説明 |
|---|
ItemCollectionMetrics() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ItemCollectionMetrics |
addItemCollectionKeyEntry(java.lang.String key,
AttributeValue value)
The hash key value of the item collection.
|
ItemCollectionMetrics |
clearItemCollectionKeyEntries()
Removes all the entries added into ItemCollectionKey.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,AttributeValue> |
getItemCollectionKey()
The hash key value of the item collection.
|
java.util.List<java.lang.Double> |
getSizeEstimateRangeGB()
An estimate of item collection size, measured in gigabytes.
|
int |
hashCode() |
void |
setItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
The hash key value of the item collection.
|
void |
setSizeEstimateRangeGB(java.util.Collection<java.lang.Double> sizeEstimateRangeGB)
An estimate of item collection size, measured in gigabytes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ItemCollectionMetrics |
withItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
The hash key value of the item collection.
|
ItemCollectionMetrics |
withSizeEstimateRangeGB(java.util.Collection<java.lang.Double> sizeEstimateRangeGB)
An estimate of item collection size, measured in gigabytes.
|
ItemCollectionMetrics |
withSizeEstimateRangeGB(java.lang.Double... sizeEstimateRangeGB)
An estimate of item collection size, measured in gigabytes.
|
public java.util.Map<java.lang.String,AttributeValue> getItemCollectionKey()
public void setItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
itemCollectionKey - The hash key value of the item collection. This is the same as the
hash key of the item.public ItemCollectionMetrics withItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
Returns a reference to this object so that method calls can be chained together.
itemCollectionKey - The hash key value of the item collection. This is the same as the
hash key of the item.public ItemCollectionMetrics addItemCollectionKeyEntry(java.lang.String key, AttributeValue value)
The method adds a new key-value pair into ItemCollectionKey parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into ItemCollectionKey.value - The corresponding value of the entry to be added into ItemCollectionKey.public ItemCollectionMetrics clearItemCollectionKeyEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.Double> getSizeEstimateRangeGB()
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
public void setSizeEstimateRangeGB(java.util.Collection<java.lang.Double> sizeEstimateRangeGB)
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
sizeEstimateRangeGB - 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 ItemCollectionMetrics withSizeEstimateRangeGB(java.lang.Double... sizeEstimateRangeGB)
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.
sizeEstimateRangeGB - 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 ItemCollectionMetrics withSizeEstimateRangeGB(java.util.Collection<java.lang.Double> sizeEstimateRangeGB)
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.
sizeEstimateRangeGB - 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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object