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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtraverse(Class<?> root, BiConsumer<PropertyPath, Neo4jPersistentProperty> sink) voidtraverse(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)
-