All Projects → aws-samples → amazon-qldb-dmv-sample-java

aws-samples / amazon-qldb-dmv-sample-java

Licence: MIT-0 license
A DMV based example application which demonstrates best-practices for using QLDB & the QLDB Driver for Java.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to amazon-qldb-dmv-sample-java

amazon-qldb-dmv-sample-nodejs
A DMV based example application which demonstrates how to use QLDB with the QLDB Driver for Node.js
Stars: ✭ 38 (+46.15%)
Mutual labels:  sample, amazon-qldb
amazon-qldb-dmv-sample-python
A DMV based example application which demonstrates how to use QLDB with the QLDB Driver for Python.
Stars: ✭ 23 (-11.54%)
Mutual labels:  sample, amazon-qldb
Jethub
Sample App with Jetpack components(LiveData, Navigation, ViewModel) + MVVM + coroutine + single activity
Stars: ✭ 224 (+761.54%)
Mutual labels:  sample
ui5-webcomponents-sample-angular
UI5 Web Components Sample TODO application built with Angular.
Stars: ✭ 34 (+30.77%)
Mutual labels:  sample
sketch-data
Various lists to use as data source in Sketch app and other design applications
Stars: ✭ 151 (+480.77%)
Mutual labels:  sample
Arkit2.0 Prototype
After Apple’s introduction of ARKit 2, we have been consistently working behind to create shared-AR experiences. Our goal is to improve the utility of mobile using AR experiences.
Stars: ✭ 236 (+807.69%)
Mutual labels:  sample
amazon-qldb-driver-java
A Java implementation of a driver for Amazon QLDB.
Stars: ✭ 13 (-50%)
Mutual labels:  amazon-qldb
Cloud Cap Samples
This project contains sample applications for SAP Cloud Application Programming Model.
Stars: ✭ 202 (+676.92%)
Mutual labels:  sample
CosmicWorks
How to model and partition data for Cosmos DB starting with the Adventure Works database.
Stars: ✭ 53 (+103.85%)
Mutual labels:  sample
laravel-hmvc-sample
Sample project, building a HMVC structure for Laravel 5,6,7,8
Stars: ✭ 28 (+7.69%)
Mutual labels:  sample
play-scala-fileupload-example
An example Play application showing custom multiform fileupload in Scala
Stars: ✭ 29 (+11.54%)
Mutual labels:  sample
Spring Framework Petclinic
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC
Stars: ✭ 251 (+865.38%)
Mutual labels:  sample
Peachpie Wordpress
WordPress running on .NET Core.
Stars: ✭ 237 (+811.54%)
Mutual labels:  sample
hana-shine-xsa
SAP HANA Interactive Education for SAP HANA Extended Application Services, Advanced Model (SHINE for XS Advanced) is an education content to learn, develop, and deploy SAP HANA XS Advanced Model application and is a successor of SHINE for XS Classic.
Stars: ✭ 115 (+342.31%)
Mutual labels:  sample
Cognitive Face Python
Python SDK for the Microsoft Face API, part of Cognitive Services
Stars: ✭ 226 (+769.23%)
Mutual labels:  sample
electron-webpack-sample
Sample of Electron & Webpack working together 💜
Stars: ✭ 31 (+19.23%)
Mutual labels:  sample
Machine Learning Diff Private Federated Learning
Simulate a federated setting and run differentially private federated learning.
Stars: ✭ 207 (+696.15%)
Mutual labels:  sample
Golang Samples
Sample apps and code written for Google Cloud in the Go programming language.
Stars: ✭ 3,088 (+11776.92%)
Mutual labels:  sample
Examples wxWidgets
Shows how to use wxWidgets controls only by programming code (c++17).
Stars: ✭ 116 (+346.15%)
Mutual labels:  sample
blazor-dashboard
Blazor sample dashboard app with native components from Telerik
Stars: ✭ 20 (-23.08%)
Mutual labels:  sample

Amazon QLDB Java DMV Sample App

license AWS Provider

The samples in this project demonstrate several uses of Amazon QLDB.

For our tutorial, see Java and Amazon QLDB.

Requirements

Basic Configuration

See Accessing Amazon QLDB for information on connecting to AWS.

See Setting Region page for more information on using the AWS SDK for Java. You will need to set a region before running the sample code.

Java 8 and Gradle

The examples are written in Java 8 using the Gradle build tool. Java 8 must be installed to build the examples, however the Gradle wrapper is bundled in the project and does not need to be installed. Please see the link below for more detail to install Java 8 and information on Gradle:

Running the Sample code

The sample code creates a ledger with tables and indexes, and inserts some documents into those tables, among other things. Each of the examples in this project can be run in the following way:

Windows:

gradlew run -Dtutorial=CreateLedger

Unix:

./gradlew run -Dtutorial=CreateLedger

The above example will build the CreateLedger class with the necessary dependencies and create a ledger named: vehicle-registration. You may run other examples after creating a ledger.

Samples

Below is a list of the sample applications included in this repository with the recommended order of execution.

Setting up the test ledger

  • CreateLedger
  • ListLedgers
  • DescribeLedger
  • ConnectToLedger
  • CreateTable
  • CreateIndex
  • ConnectToLedger: Run it again to see the created tables.
  • InsertDocument
  • ScanTable

Transaction management, PartiQL queries examples and History

  • AddSecondaryOwner
  • DeregisterDriversLicense
  • FindVehicles
  • RegisterDriversLicense
  • RenewDriversLicense
  • TransferVehicleOwnership
  • DeregisterDriversLicense
  • QueryHistory
  • InsertIonTypes

Exporting data

  • ExportJournal

  • ListJournalExports

  • DescribeJournalExport

    Note: To execute this test, you need to pass the ExportId that will be in the output of ListJournalExports. You can execute the test like this:

    ./gradlew run -Dtutorial=DescribeJournalExport --args="<Export Id obtained from the output of ListJournalExports>"	

Verifying data

  • GetRevision
  • GetDigest
  • GetBlock
  • ValidateQldbHashChain

Other Ledger management operations

  • TagResource
  • DeletionProtection
  • DeleteLedger

Documentation

Javadoc is used for documentation. You can generate HTML locally with the following:

mvn site

It will generate the Javadoc for public members (defined in ) using the given stylesheet (defined in ), and with an help page (default value for nohelp is true).

mvn javadoc:javadoc

It will generate the Javadoc for private members (defined in ) using the stylesheet (defined in ), and with no help page (defined in ).

Please see Javadoc usage.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the Apache 2.0 license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].