使用 Pentaho Spoon 与 Neo4j 的数据库连接

Database connection to Neo4j with Pentaho Spoon

我想用 Pentaho Kettle Spoon 连接到 Neo4j。我用 this and I tried to use this guide 下载了 jdbc 个 neo4j 驱动程序,以便用 Pentaho Kettle Spoon 连接到 neo4j。
我有两个主要问题:

  1. 已下载JDBC驱动程序是 zip 文件。
    我将驱动程序扩展名更改为 jar 以解决此问题。
  2. 当我将扩展名更改为 jar 并将其复制到 lib 文件夹并按照 this guide 我遇到缺少驱动程序错误:

org.neo4j.jdbc.Driver could not be found

如何解决这些问题?

您无法重命名从 Github 下载的 .zip 文件并添加到 lib 文件夹。您需要编译源代码并将 .jar 文件添加到其中。 或者您可以从 here 下载已经编译好的文件并添加到 data-integration\lib 文件夹并重新启动勺子。


Table Input 步骤 select

  • 连接类型为 Generic database
  • 自定义连接URL 作为 jdbc:neo4j://localhost:7474
  • 自定义驱动程序 class 名称为 org.neo4j.jdbc.Driver

我在 PDI Marketplace 上放置了一个 Neo4j 的连接器,它将 "Neo4j" 添加到数据库源列表中,因此您不必配置通用驱动程序或从 Neo4j 下载驱动程序。