Which returns values the form java map string names long values
186 Chapter 10 Writing a SimpleDB Client: A Language-Independent Guide
client should be simple to use.The API exposed to users needs to match up as closely as possible with the SimpleDB calls documented on the AWS website.
n An Item class to represent a named set of attributes.
From the user’s perspective, this will be the full extent of classes in the interface, aside from the exception classes.That is about as simple as you can get.The role of the Sim-pleDB class is needed at some level, although you have more leeway when deciding how to represent items and attributes.
package com.simpledbbook;
void createDomain(String domainName);
void deleteDomain(String domainName);
void putIfNotExists(String domain, Item item, String expectedName);
void putIfExists(String domain, Item item, String expectedName,
String expectedValue);
Item get(String domain, String itemName, String... atts);
List<Item> getNextPage();
List<Item> getNextPageConsistent();


