August 15, 2023

Bulk-writing the movies data into Neo4j – Docs for ESB 6.x

Bulk-writing the movies data into Neo4j

  1. Double-click the second tFileInputDelimited component to open its Component view.

    use_case-neo4jbatch6.png

  2. In the File name/Stream field, enter the path or browse to the CSV file that describes the movies’ IDs, names, release years and their labels to be used in Neo4j.

    The input CSV file used in this example reads as follows:

    The double quotation marks on the movie names are not mandate.

  3. Click the […] button next to Edit schema to open the schema editor, and define the input schema based on
    the structure of the input file.

    In this example, the columns are id,
    title, released and
    label.

    use_case-neo4jbatch7.png

  4. Click OK to close this editor and accept the propagation
    of the schema to the next component.
  5. In the Field separator field, enter a comma (,) to
    replace the default semicolon (;).
  6. Double-click the second tNeo4jBatchOutput component to open its
    Component view.

    use_case-neo4jbatch8.png

  7. Select the Use an existing connection
    check box to reuse the Neo4j database connection opened by the tNeo4jConnection component.
  8. Verify that the Shutdown after Job check box is clear.
  9. From the Field that contains the label list drop-down list, select the column that provides labels.
  10. In the Index name field, enter the name of the index to be created for the nodes.
  11. From Import identifier drop-down list, select the column that provides IDs.

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