August 16, 2023

Writing information of actors and movies to Neo4j with hierarchical relationship using Neo4j Batch components – Docs for ESB 6.x

Writing information of actors and movies to Neo4j with hierarchical
relationship using Neo4j Batch components

In this scenario, Neo4j Batch components are used to import data about
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.

The components to be used are:

  • One tNeo4jConnection component: it opens the connection to Neo4j to be reused.

  • Three tFileInputDelimited
    components: they read the input information of actors and
    movies.

  • Two tNeo4jBatchOutput components: they
    write information of movies and actors to the connected Neo4j
    database.

  • One tNeo4jBatchOutputRelationship component: it creates
    relationship between actors and movies.

  • One tNeo4jBatchSchema component: it creates an uniqueness constraint on the nodes in the database.

use_case-neo4jbatch1.png


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x