Writing information of actors and movies to Neo4j with hierarchical
relationship using Neo4j Batch components
actors and movies from two CSV files in a local Neo4j database and create
relationship for the data based on another CSV file that describes
the actors’ roles in the movies.
This scenario applies only to a Talend solution with Big Data.
The Neo4j Batch components provided by Talend supports bulk writing to a local Neo4j database only. They can be used neither with Neo4j versions prior to V3.2.X nor alongside Neo4j components that are using one of those Neo4j versions.
One tNeo4jConnection component: it opens the connection to Neo4j to be reused.
components: they read the input information of actors and
Two tNeo4jBatchOutput components: they
write information of movies and actors to the connected Neo4j
One tNeo4jBatchOutputRelationship component: it creates
relationship between actors and movies.
One tNeo4jBatchSchema component: it creates an uniqueness constraint on the nodes in the database.