Skip to content

jcabi/jcabi-dynamo

Repository files navigation

logo

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn PDD status Javadoc Maven Central codecov

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(final String[] args) {
        final Credentials credentials = new Credentials.Simple("AWS key", "AWS secret");
        final Region region = new Region.Simple(credentials);
        final Table table = region.table("foo");
        final Collection<Item> items = table.frame().where("id", Conditions.equalTo(123));
        for (final Item item : items) {
            System.out.println(item.get("name").getS());
        }
    }
}

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