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

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
主站蜘蛛池模板: 凤凰县| 靖州| 百色市| 白山市| 来安县| 句容市| 治县。| 弥渡县| 和政县| 马公市| 灵台县| 海晏县| 比如县| 千阳县| 章丘市| 溧水县| 繁峙县| 中西区| 遵义市| 宾阳县| 寻乌县| 贵溪市| 西充县| 桃江县| 容城县| 安宁市| 望江县| 黔东| 舞钢市| 通化市| 崇左市| 尚义县| 乌拉特前旗| 北川| 开远市| 十堰市| 大英县| 车险| 博爱县| 临武县| 开封县|