|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.model.ItemCollectionMetrics
public class ItemCollectionMetrics
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 local secondary indexes, this information is not returned in the response.
Constructor Summary | |
---|---|
ItemCollectionMetrics()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ItemCollectionMetrics()
Method Detail |
---|
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 local
secondary indexes on that table. Use this estimate to measure whether
a local 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 local
secondary indexes on that table. Use this estimate to measure whether
a local 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 local
secondary indexes on that table. Use this estimate to measure whether
a local 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
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |