More details are here: simpledb.jcabi.com
Set of classes in com.jcabi.simpledb
is an object layer on top of AWS SDK for SimpleDB. For example, to read an item from your SimpleDB domain:
public class Main {
public static void main(String[] args) {
Credentials credentials = new Credentials.Simple("AWS key", "AWS secret");
Region region = new Region.Simple(credentials);
Domain domain = region.domain("foo");
Collection<Item> items = domain.select(
new SelectRequest().withSelectExpression("SELECT * FROM foo")
);
for (Item item : items) {
System.out.println(item.get("name"));
}
}
}
Questions?
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.
How to contribute?
Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master
branch, if they look correct.
Please run Maven build before submitting a pull request:
$ mvn clean install -Pqulice