Adding and linking components - 6.5

Neo4j

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Open Studio for Big Data
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Database components > Neo4j components
Data Quality and Preparation > Third-party systems > Database components > Neo4j components
Design and Development > Third-party systems > Database components > Neo4j components
EnrichPlatform
Talend Studio

Procedure

  1. Create a Job and add the following components to the Job by typing theirs names in the design workspace or dropping them from the Palette:
    • a tNeo4jConnection component, to open a connection to a Neo4j database,

    • three tFileInputDelimited components, to read the input information of actors and movies,

    • two tNeo4jOutput components, to write information of movies and actors to the connected Neo4j database,

    • a tNeo4jOutputRelationship component, to create relationship between actors and movies, and

    • a tNeo4jClose component, to close the previous opened Neo4j connection at the end of Job execution.

  2. Link the first tFileInputDelimited to the first tNeo4jOutput component using a Row > Main connection. This sub-job will import the actors data into the Neo4j database.
  3. Link the second tFileInputDelimited component to the second tNeo4jOutput component using a Row > Main connection. This sub-job will import the movies data into the Neo4j database.
  4. Link the third tFileInputDelimited component to the tNeo4jOutputRelationship component using a Row > Main connection. This sub-job will create relationship between actors and movies.
  5. Link the sub-jobs using Trigger > On Subjob Ok connections.
  6. Label the components to better identify their roles in the Job.