Example usage for com.amazonaws.services.dynamodbv2.model GlobalSecondaryIndexDescription getIndexSizeBytes

List of usage examples for com.amazonaws.services.dynamodbv2.model GlobalSecondaryIndexDescription getIndexSizeBytes

Introduction

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

Prototype


public Long getIndexSizeBytes() 

Source Link

Document

The total size of the specified index, in bytes.

Usage

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

License:BSD License

private void writeGlobalSecondaryIndex(GlobalSecondaryIndexDescription index) throws XMLStreamException {

    startElement("global-secondary-index");
    attribute("index-name", index.getIndexName());
    attribute("index-size", index.getIndexSizeBytes());
    attribute("index-status", index.getIndexStatus());
    attribute("item-count", index.getItemCount());
    writeKeySchemaList(index.getKeySchema());
    writeProjection(index.getProjection());
    writeProvisionedThroughput(index.getProvisionedThroughput());
    endElement();//from www . j  av  a  2s.c om

}