score:1

import org.neo4j.spark.neo4j you're leveraging the old apis.

please read the documentation:

https://neo4j.com/docs/spark/current/quickstart/

this in particular contains info about how to read data with a cypher query:

https://neo4j.com/docs/spark/current/reading/#read-query


Related Query

More Query from same tag