More details are here: dynamo.jcabi.com. Also, read this blog post: Object-Oriented DynamoDB API.
Set of classes in com.jcabi.dynamo
is an object layer on top of
AWS SDK for Dynamo DB.
For example, to read an item from your Dynamo table:
public class Main {
public static void main(String[] args) {
Credentials credentials = new Credentials.Simple("AWS key", "AWS secret");
Region region = new Region.Simple(credentials);
Table table = region.table("foo");
Collection<Item> items = table.frame().where("id", Conditions.equalTo(123));
for (Item item : items) {
System.out.println(item.get("name").getS());
}
}
}
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.
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