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

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

Introduction

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

Prototype


public Long getItemCount() 

Source Link

Document

The number of items in the specified index.

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   ww w.java 2 s .c  om

}