官术网_书友最值得收藏!

  • Learning Cypher
  • Onofrio Panzarino
  • 151字
  • 2021-07-16 11:50:27

Chapter 1. Querying Neo4j Effectively with Pattern Matching

Querying a graph database using the Java API can be very tedious; you would need to visit the whole graph and skip nodes that don't match what you are searching for. Any changes to the query will result in rethinking the code, changing it, and building it all over again. Why? The reason is that we are using an imperative language to do pattern matching, and traditional imperative languages don't work well in this task. Cypher is the declarative query language used to query a Neo4j database. Declarative means that it focuses on the aspects of the result rather than on methods or ways to get the result so that it is human-readable and expressive.

In this chapter, we will cover the following topics:

  • Setting up a Neo4j database
  • Querying the database in a simpler way than using the Java API
主站蜘蛛池模板: 高邮市| 河曲县| 澄江县| 东方市| 南华县| 青海省| 千阳县| 商洛市| 福贡县| 曲松县| 阜新市| 滦平县| 托克逊县| 广昌县| 无极县| 云南省| 辽中县| 永兴县| 民勤县| 五河县| 江源县| 循化| 泽州县| 抚顺市| 石门县| 辽源市| 上饶县| 红河县| 永安市| 东乡县| 阳西县| 香格里拉县| 黑河市| 西城区| 长泰县| 泰州市| 大安市| 江华| 香格里拉县| 万宁市| 来宾市|