Package org.springframework.data.neo4j.core.mapping
@NonNullApi
package org.springframework.data.neo4j.core.mapping
The main mapping framework. This package orchestrates the reading and writing of entities and all tasks related to it.
The only public API of this package is the subpackage callback, containing the event support.
The core package itself has to be considered an internal api and we don't give any guarantees of API stability.
- Author:
- Michael J. Simons
-
ClassDescriptionWarning Internal API, might change without further notice, even in patch releases.A pool of constants used in our Cypher generation.The
CreateRelationshipStatementHolder
holds the Cypher Statement to create a relationship as well as the optional properties that describe the relationship in case of more than a simple relationship.A generator based on the schema defined by node and relationship descriptions.Converter
to instantiate DTOs from fully equipped domain objects.Converter
to instantiate entity objects from DTOsUsed to keep the raw result around in case of a DTO based projection so that missing properties can be filled later on.Provides minimal information how to map class attributes to the properties of a node or a relationship.Description how to generate Ids for entities.This class is not part of any public API and will be changed without further notice as needed.Class that defines a tuple of relationship with properties and the connected target entity.A wrapper or marker for a Neo4jorg.neo4j.driver.internal.value.MapValue
that needs to be unwrapped when used for properties.This orchestrates the built-in store conversions and any additional Spring converters.An implementation of both aSchema
as well as a Neo4j version of Spring Data'sMappingContext
.A builder for creating custom instances of aNeo4jMappingContext
.APersistentEntity
interface with additional methods for metadata related to Neo4j.APersistentProperty
interface with additional methods for metadata related to Neo4j.Working on nested relationships happens in a certain algorithmic context.This stores all processed nested relations and objects during save of objects so that the recursive descent can be stopped accordingly.Valid processing states.Reactive Supplier for arbitrary relationship idsSupplier for arbitrary relationship idsDescribes how a class is mapped to a node inside the database.ANoRootNodeMappingException
is thrown when the entity converter cannot find a node or map like structure that can be mapped.The characteristics of aNeo4jPersistentProperty
can diverge from what is by default derived from the annotated classes.An instance of such a provider can be registered as a Spring bean and will be consulted by theNeo4jMappingContext
prior to creating and populatingpersistent properties
.Something that makes sense of propertyPaths by having an understanding of projection classes.Wrapper class for property paths and information if they point to an entity.A very loose coupling between a dot path and its (possible) owning type.Warning Internal API, might change without further notice, even in patch releases.A strategy for traversing all properties (including association) once, without going in circles with cyclic mappings.Description of a relationship.Contains the descriptions of all nodes, their properties and relationships known to SDN.Supporting class for CypherDSL related customizations.Thrown when required information about a class or primary label is requested from theSchema
and that information is not available.