Neo4j Connector for Apache Spark
The Neo4j Connector for Apache Spark is intended to make integrating graphs with Spark easy. There are two ways to use the connector:
-
As a data source: read any set of nodes or relationships as a
DataFrame
in Spark -
As a sink: write any
DataFrame
to Neo4j as a collection of nodes or relationships, or use a Cypher statement to process records contained in aDataFrame
into the graph pattern of your choice
Connecting to Aura only requires to make a few changes to the Neo4j driver configuration:
-
Replace the
bolt
URI (the value of theneo4j.server.uri
configuration parameter) with theneo4j+s://
connection URI from the Aura instance detail page -
Update the username and password configuration parameters as appropriate
For more information check the Neo4j Apache Spark Connector page.