Liking cljdoc? Tell your friends :D

Pentaho

Step 1: Create database connections:

Right click on Database connections and click on New

463fc1f8 34df 11e6 9dac f62def4311e2

Insert the connection parameters for source database the press Test button to check the connection:

74c1b7d8 34e0 11e6 8478 7952686766c4
846c3d84 34e0 11e6 947b e5e617800c3b

As before, select a new Database connections and insert neo4j connection parameters, set:

  • Connection Type: Generic database

  • Custom Connection URL: "jdbc:neo4j:bolt://localhost:7687"

  • Custom Driver Class Name: "org.neo4j.jdbc.Driver"

  • Login and password:

8a6df4b0 34e1 11e6 84a7 3ea9cd024529
2263fbc6 37ac 11e6 9a8d bdf8c78d96bf

Then press to Test button to check the connection:

2989eaa0 37ac 11e6 8ca7 cd5c50786a5d

Step 2: Create Steps and Hops:

  • From Design select input and click on table input top insert the source table:

95f20bfe 34e2 11e6 9ce0 c5999027c07d
9934f0a6 34e2 11e6 97b4 c1c49c276ccf
  • From Scripting click on Execute SQL script:

0fd68062 34e3 11e6 8272 562f06b4b93f
1e7ad190 34e3 11e6 8fb7 beda60ee391b
  • Double click on table input. Select the source database Connection and write query to extract data the press Preview button to check query:

73469a7e 34e3 11e6 8f77 7c8db5bbcec9
7dee0dae 34e3 11e6 8e89 457a8c5aa36c
  • Double click on Hops, select as From step the table input and as to step the Execute SQL Script:

d82771f6 34e4 11e6 85c8 07a65fe14e6f
dd56b24a 34e4 11e6 88da d0ab1fd8e008
  • Now your Hop is complete!

247b2e12 34e5 11e6 8a31 2e4329c04f1a
  • Double click on Execute SQL script. Click on Get Fields to retrive the column from source database. Write the cypher to create nodes and relationship:

32ef7a56 37ac 11e6 9e58 433ed6444b0a

Step 3: Run the job

  • Click on run this transformation or job and wait until finished:

eefac170 34e5 11e6 83d3 7f4faa4c7745
f1156e06 34e5 11e6 99b1 5d2d37b9737e
f39b13d8 34e5 11e6 8d16 869345f82dd5
  • If all ok, you should have like this:

813e5e2a 34e6 11e6 81cf 5492c664c041

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close