Package org.springframework.data.neo4j.core
@NonNullApi
package org.springframework.data.neo4j.core
This package contains the core infrastructure for creating an imperative or reactive client that can execute queries.
Packages marked as `@API(status = API.Status.STABLE)` are safe to be used. The core package provides access to both
the imperative and reactive variants of the client and the template.
-
ClassDescriptionA value holder indicating a database selection based on an optional name.A provider interface that knows in which database repositories or either the reactive or imperative template should work.
FluentFindOperation
allows creation and execution of Neo4j find operations in a fluent API style.Entry point for creating executable find operations.Result type override (Optional).Terminating operations invoking the actual query execution.Triggers find execution by calling one of the terminating methods.Trigger find execution by calling one of the terminating methods from a state where no query is yet defined.An additional interface accompanying theNeo4jOperations
and adding a couple of fluent operations, especially around finding and projecting things.FluentSaveOperation
allows creation and execution of Neo4j save operations in a fluent API style.After the domain type has been specified, related projections or instances of the domain type can be saved.Definition of a modern Neo4j client.Neo4jClient.BindSpec<S extends Neo4jClient.BindSpec<S>>Contract for binding parameters to a query.A builder forNeo4j clients
.Indicates an illegal database name and is not translated into aDataAccessException
.Neo4jClient.OngoingBindSpec<T,S extends Neo4jClient.BindSpec<S>> Ongoing bind specification.A contract for an ongoing delegation in the selected database.A runnable delegation.Contract for a runnable query that can be either run returning its result, run without results or be parameterized.Contract for a runnable query inside a dedicated database.Combination ofNeo4jClient.RunnableSpecBoundToDatabase
andNeo4jClient.RunnableSpecBoundToUser
, can't be bound any further.Contract for a runnable query bound to a user to be impersonated.Contract for a runnable query specification which still can be bound to a specific database and an impersonated user.Specifies operations one can perform on a database, based on an Domain Type.An interface for controlling query execution.A PersistenceExceptionTranslator to get picked up by the Spring exception translation infrastructure.Contains some useful transformers for adding additional, supported transformations toexample matchers
viaExampleMatcher.withTransformer(String, ExampleMatcher.PropertyValueTransformer)
.A wrapper indicating a negated value (will be used asn.property != $parameter
(in case of string properties all operators and not only the equality operator are supported, such asnot (n.property contains 'x')
.Typed preparation of a query that is used to create either an executable query.This class is responsible for creating a List ofPropertyPath
entries that contains all reachable properties (w/o circles).This is the reactive version of a theDatabaseSelectionProvider
and it works in the same way but uses reactive return types containing the target database name.ReactiveFluentFindOperation
allows creation and execution of Neo4j find operations in a fluent API style.Entry point for creating executable find operations.Result type override (Optional).Terminating operations invoking the actual query execution.Trigger find execution by calling one of the terminating methods.Trigger find execution by calling one of the terminating methods from a state where no query is yet defined.An additional interface accompanying theReactiveNeo4jOperations
and adding a couple of fluent operations, especially around finding and projecting things.ReactiveFluentSaveOperation
allows creation and execution of Neo4j save operations in a fluent API style.After the domain type has been specified, related projections or instances of the domain type can be saved.Reactive Neo4j client.A builder forreactive Neo4j clients
.A contract for an ongoing delegation in the selected database.A runnable delegation.Contract for a runnable query that can be either run returning its result, run without results or be parameterized.Contract for a runnable query inside a dedicated database.Combination ofNeo4jClient.RunnableSpecBoundToDatabase
andNeo4jClient.RunnableSpecBoundToUser
, can't be bound any further.Contract for a runnable query bound to a user to be impersonated.Contract for a runnable query specification which still can be bound to a specific database and an impersonated user.Specifies reactive operations one can perform on a database, based on an Domain Type.An interface for controlling query execution in a reactive fashion.Utilities for templates.Indicator for an empty collectionThis is a value object for a Neo4j user, potentially different from the user owning the physical Neo4j connection.