What is NodeQuery?
NodeQuery is an open-source Java library that provides an easy way to query graph databases like Neo4j. It uses a fluent API to construct Cypher queries, allowing developers to retrieve nodes and relationships from the graph without writing raw Cypher.
Some key features of NodeQuery include:
- Fluent API for constructing database queries
- Supports reading and writing data in Neo4j
- Query parameters and pagination helpers
- Integration for Spring Data Neo4j
- Query validation and optimization
By handling much of the Cypher syntax, NodeQuery simplifies writing graph database queries in Java. It can help improve developer productivity when building applications with Neo4j or other graph databases.
The fluent syntax also makes NodeQuery queries easy to read and maintain. NodeQuery takes care of proper escaping, query building and optimization so developers can focus on the business logic rather than database access boilerplate.