📄️ Introduction
Learn how to use ArangoDB as the database backend for your application from Java
📄️ Getting started
To use the ArangoDB Java driver, you need to import arangodb-java-driver as a library into your project.
📄️ Connecting to ArangoDB
The official reference documents for the driver can be found here
📄️ Working with databases
Create a new database
📄️ Working with collections
Creating a collection
📄️ Working with documents
Creating a document
📄️ Working with AQL
Learn more about the query language in the AQL documentation.
📄️ Java - Untyped data structures
If you use a NoSQL database, it’s common to retrieve documents with an unknown attribute structure. Furthermore, the amount and types of attributes may differ in documents resulting from a single query. Another problem is that you want to add one or more attributes to a document.
📄️ Java - Importing graph data with stream transactions
mporting graph data is possible using bulk import functions for every vertex and edge collection of the graph. Nevertheless, sometimes one could have the need to preserve certain domain-specific invariants (consistency) while inserting the data. For example, while populating a movie database, it would be desirable to insert together with each movie all its actors and the related outgoing edges reaching them.
📄️ Wrap up
You have just learned the basic use of the ArangoDB Java Driver to develop your application with Java and ArangoDB.