https://github.com/inqwise/inqwise-neo4j-client
A lightweight wrapper that integrates the reactive Neo4j Java driver with Vert.x, enabling seamless reactive database operations in Vert.x applications.
https://github.com/inqwise/inqwise-neo4j-client
java neo4j reactive vertx
Last synced: about 1 month ago
JSON representation
A lightweight wrapper that integrates the reactive Neo4j Java driver with Vert.x, enabling seamless reactive database operations in Vert.x applications.
- Host: GitHub
- URL: https://github.com/inqwise/inqwise-neo4j-client
- Owner: inqwise
- License: mit
- Created: 2025-03-28T09:02:53.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2026-03-31T08:25:31.000Z (2 months ago)
- Last Synced: 2026-03-31T10:24:29.865Z (2 months ago)
- Topics: java, neo4j, reactive, vertx
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
image:https://github.com/inqwise/inqwise-neo4j-client/actions/workflows/ci.yml/badge.svg[CI, link=https://github.com/inqwise/inqwise-neo4j-client/actions/workflows/ci.yml]
image:https://github.com/inqwise/inqwise-neo4j-client/actions/workflows/release.yml/badge.svg[Release, link=https://github.com/inqwise/inqwise-neo4j-client/actions/workflows/release.yml]
image:https://github.com/inqwise/inqwise-neo4j-client/actions/workflows/codeql.yml/badge.svg[CodeQL, link=https://github.com/inqwise/inqwise-neo4j-client/actions/workflows/codeql.yml]
image:https://codecov.io/gh/inqwise/inqwise-neo4j-client/branch/master/graph/badge.svg[Codecov, link=https://codecov.io/gh/inqwise/inqwise-neo4j-client]
image:https://snyk.io/test/github/inqwise/inqwise-neo4j-client/badge.svg[Snyk Security, link=https://snyk.io/test/github/inqwise/inqwise-neo4j-client]
image:https://img.shields.io/maven-central/v/com.inqwise/inqwise-neo4j-client.svg?label=Maven%20Central[Maven Central, link=https://search.maven.org/search?q=g:%22com.inqwise%22%20AND%20a:%22inqwise-neo4j-client%22]
image:https://img.shields.io/badge/License-MIT-yellow.svg[License: MIT, link=https://opensource.org/licenses/MIT]
image:https://img.shields.io/badge/Java-21%2B-blue.svg[Java Version, link=https://openjdk.java.net/projects/jdk/21/]
= Inqwise Neo4j Client
== Overview
*Inqwise Neo4j Client* is a lightweight wrapper around the Neo4j reactive Java driver, designed for seamless integration with https://vertx.io[Vert.x].
It enables fully non-blocking database operations within Vert.x applications using a clean, reactive API.
The library adapts Neo4j’s official reactive driver to work efficiently within the Vert.x event loop.
== Maven
To include this library in your project, add the following dependency:
[source,xml]
----
com.inqwise
inqwise-neo4j-client
${latest.version}
----
== Usage Example
[source,java]
----
import com.inqwise.neo4j.Neo4jClient;
import com.inqwise.neo4j.Neo4jDriver;
import com.inqwise.neo4j.Neo4jSession;
import com.inqwise.neo4j.Neo4jResult;
// Initialize Neo4j driver
Neo4jDriver neo4j = Neo4jClient.create("bolt://localhost:7687", "neo4j", "password");
// Run a simple Cypher query
Neo4jSession session = neo4j.session();
session.run("MATCH (p:Person) RETURN p.name")
.onComplete(ar -> {
if (ar.succeeded()) {
Neo4jResult result = ar.result();
result.records().handler(record -> {
System.out.println("Found person: " + record.get("p.name").asString());
});
} else {
ar.cause().printStackTrace();
}
session.close(); // Close session when done
});
----
== License
This project is licensed under the MIT License.
See the link:LICENSE[LICENSE] file for details.