Class PropertyTraverser
java.lang.Object
org.springframework.data.neo4j.core.mapping.PropertyTraverser
A strategy for traversing all properties (including association) once, without going in circles with cyclic mappings.
Uses the same idea of relationship isomorphism like Cypher does (Relationship isomorphism means that one relationship
or association cannot be returned more than once for each entity).
- Since:
- 6.3
- Author:
- Michael J. Simons
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
traverse
(Class<?> root, BiConsumer<PropertyPath, Neo4jPersistentProperty> sink) void
traverse
(Class<?> root, BiPredicate<PropertyPath, Neo4jPersistentProperty> predicate, BiConsumer<PropertyPath, Neo4jPersistentProperty> sink)
-
Constructor Details
-
PropertyTraverser
-
-
Method Details
-
traverse
-
traverse
public void traverse(Class<?> root, BiPredicate<PropertyPath, Neo4jPersistentProperty> predicate, BiConsumer<PropertyPath, Neo4jPersistentProperty> sink)
-