Question

Does cypher replaces neo4j traversal now-a-days? Is neo4j traversal deprecated now?

Était-ce utile?

La solution

No, there are many cases where a manual traversal is useful. The Traversal class is indeed deprecated but the TraversalDescription isn't. You can get it via GraphDatabaseService#traversalDescription().

Autres conseils

The documentation currently says it's deprecated, but staff says

We are officially continuing with the deprecation of the traversal API, BUT it will stick around and will be maintained until a suitable replacement is available, and that may not happen for awhile. We won't be pulling the rug out from under anyone's feet, this is just a step in preparation for something new.

July 29, 2020

https://community.neo4j.com/t/the-traversal-framework-in-v4/15989/4

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top