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

Neo4j

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > NoSQL components > Neo4j components
Data Quality and Preparation > Third-party systems > NoSQL components > Neo4j components
Design and Development > Third-party systems > NoSQL components > Neo4j components
Last publication date
2024-02-21

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.

For more technologies supported by Talend, see Talend components.

This scenario applies only to Talend products 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.