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

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
主站蜘蛛池模板: 浪卡子县| 黔南| 肥西县| 灵山县| 乐昌市| 剑阁县| 民丰县| 铁岭市| 土默特左旗| 井研县| 洛宁县| 新乡县| 西平县| 南京市| 开鲁县| 花莲市| 庆安县| 会理县| 花垣县| 长治市| 聂荣县| 高唐县| 苏州市| 隆回县| 晋中市| 镇坪县| 湖北省| 隆林| 独山县| 太康县| 阜新市| 开原市| 通城县| 吉木萨尔县| 曲靖市| 金山区| 方城县| 阿拉尔市| 青浦区| 满城县| 南充市|