Domanda

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

È stato utile?

Soluzione

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().

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top