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

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

Introduction

In this page you can find the example usage for com.amazonaws.services.dynamodbv2.model LocalSecondaryIndexDescription 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 writeLocalSecondaryIndex(LocalSecondaryIndexDescription index) throws XMLStreamException {

    startElement("local-secondary-index");
    attribute("index-name", index.getIndexName());
    attribute("index-size", index.getIndexSizeBytes());
    attribute("item-count", index.getItemCount());

    writeKeySchemaList(index.getKeySchema());
    writeProjection(index.getProjection());
    endElement();//from   ww w .j a va  2s  .  c o  m

}