Skip to content

justing-bq/amazon-qldb-driver-java

 
 

Repository files navigation

Amazon QLDB Driver for Java

This package provides an interface to Amazon QLDB for Java.

With the Amazon QLDB Driver for Java you can create a session with connectivity to a specific ledger in QLDB. This session enables you to execute PartiQL statements and retrieve the results of those statements. You can also take control over transactions to group multiple executions within a transaction.

Maven Central Javadoc

Getting Started

  1. Sign up for AWS — Before you begin, you need an AWS account. For more information about creating an AWS account and retrieving your AWS credentials, see [AWS Account and Credentials][docs-signup] in the AWS SDK for Java Developer Guide.
  2. Minimum requirements — To use the Amazon QLDB Driver for Java, you'll need Java 1.8+. For more information about Amazon QLDB Driver for Java requirements, see Java and Amazon QLDB in the Amazon QLDB Developer Guide.
  3. Install the QLDB driver — The driver binaries are in Maven Central, for more information please checkout the Quickstart section of the Amazon Qldb documentaiton for the java Driver.
  4. Using the Amazon QLDB Driver for Java — The best way to get familiar with the Amazon QLDB Driver for Java is to read Getting Started with the Amazon QLDB Driver in the Amazon QLDB Developer Guide.

Features

  • Provides an easy-to-use programming model for working with transactions with Amazon QLDB.
  • Provides a session pool so the sessions can be reused when future transactions are sent to the ledger database.

See also

  1. Driver best practices — Check them out in the Best Practices in the QLDB documentation.
  2. Exception handling when using QLDB Drivers — Refer the section Common Errors while using the Amazon QLDB Drivers which describes runtime exceptions that can be thrown by the Amazon QLDB Driver when calling the qldb-session APIs.
  3. Using Amazon Ion Java — Amazon Ion is a richly-typed, self-describing, hierarchical data serialization format offering interchangeable binary and text representations. For more information read the ion docs for Amazon Ion Java
  4. Using PartiQL — Amazon QLDB uses PartiQL to send request to the ledger database. You can get started with the PartiQL Tutorial. Also read the PartiQL Reference from the Amazon QLDB Developer Guide.

License

This library is licensed under the Apache 2.0 License.

About

A Java implementation of a driver for Amazon QLDB.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%