Skip to content

jcabi/jcabi-simpledb

Repository files navigation

EO principles respected here Managed by Zerocracy DevOps By Rultor.com

mvn PDD status Javadoc jpeek report Maven Central codecov

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(final String[] args) {
        final Credentials credentials = new Credentials.Simple("AWS key", "AWS secret");
        final Region region = new Region.Simple(credentials);
        final Domain domain = region.domain("foo");
        final Collection<Item> items = domain.select(
            new SelectRequest().withSelectExpression("SELECT * FROM foo")
        );
        for (final Item item : items) {
            System.out.println(item.get("name"));
        }
    }
}

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