scala - Neo4j - Cypher 与 Scala-Neo4j API

标签 scala neo4j cypher graph-databases

我是 Scala 和 Neo4j 的新手。我想使用嵌入在我的 Scala 项目中的 Neo4j。在 Cypher 查询和 Scala-Neo4j API 中使用它的更好方法是什么?

最佳答案

我会说 Cypher 是与 Neo4j 交互的最简单、最好的文档和声明方式。我只会出于两个原因切换到 scala/java API:

  • 缺少命令式遍历等功能(如有必要)
  • 性能,目前在某些情况下使用嵌入式 API 仍然更好,直到 Cypher 基于新的高性能 Java API
  • 关于scala - Neo4j - Cypher 与 Scala-Neo4j API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16708658/

    相关文章:

    neo4j - Neo4j 密码中的三元运算符/默认值

    json - 将整个 Neo4j 数据库/密码结果导出到 GraphJSON

    javascript - 带键线的 Neo4jClient

    Neo4j Cypher 查询和集合中元素的索引

    scala - 为什么在从中创建新的 Iterable 时会评估迭代器?

    scala - 导入语句 :error:not found in Scala REPL

    scala - 如何终止从 SBT Shell 启动的 FS2 流?

    python - Neomodel 密码查询缺少位置参数

    string - Neo4j - 将节点属性集从字符串转换为整数

    scala - 相当于scala中的pythons repr()