Example usage for com.amazonaws.services.dynamodbv2.model ItemCollectionMetrics getItemCollectionKey

List of usage examples for com.amazonaws.services.dynamodbv2.model ItemCollectionMetrics getItemCollectionKey

Introduction

In this page you can find the example usage for com.amazonaws.services.dynamodbv2.model ItemCollectionMetrics getItemCollectionKey.

Prototype


public java.util.Map<String, AttributeValue> getItemCollectionKey() 

Source Link

Document

The partition key value of the item collection.

Usage

From source file:org.xmlsh.aws.util.AWSDDBCommand.java

License:BSD License

protected void writeItemCollectionMetrics(ItemCollectionMetrics itemCollectionMetrics)
        throws XMLStreamException, IOException {
    startElement("item-collection-metrics");
    writeAttrNameValue("item-collection-key", itemCollectionMetrics.getItemCollectionKey());
    for (Double r : itemCollectionMetrics.getSizeEstimateRangeGB()) {
        super.startElement("size");
        attribute("value", r);
        endElement();/*from  w  ww.  jav  a  2 s  .  c  om*/
    }
    endElement();
}