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

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

Introduction

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

Prototype


public java.util.List<Double> getSizeEstimateRangeGB() 

Source Link

Document

An estimate of item collection size, in gigabytes.

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();/*  w ww  . ja  v  a2s  .com*/
    }
    endElement();
}