- Hands-On Graph Analytics with Neo4j
- Estelle Scifo
- 253字
- 2021-06-11 18:50:26
The Cypher Query Language
Cypher is the language used to interact with Neo4j. Originally created by Neo4j for Neo4j, it has been open sourced as openCypher and is now used by other graph database engines such as RedisGraph. It is also part of the Graph Query Language (GQL) association, whose goal is to build a common graph database query language – like SQL is for relational databases. In any case, it is a good starting point to understand how to query graph databases due to its visual aspect: nodes and relationships can be identified quickly by looking at the query.
In this chapter, we will review the basics of Cypher, which will be used in this book: CRUD methods, bulk importing data with various formats, and pattern matching to extract exactly the data we need from a graph. It is a good place to introduce the Awesome Procedures On Cypher (APOC) plugin, which is an extension of Cypher introducing powerful methods for data imports, and more. We will also take a look at more advanced tools such as the Cypher query planner. It will help us to understand the different steps of a query and how we can tune it for faster execution. Finally, we'll discuss Neo4j and Cypher performance with a social (Facebook-like) graph.
The following topics will be covered in this chapter:
- Creating nodes and relationships
- Updating and deleting nodes and relationships
- Using the aggregation function
- Importing data from CSV or JSON
- Measuring performance and tuning your query for speed
- 大數(shù)據(jù)導(dǎo)論:思維、技術(shù)與應(yīng)用
- Visualforce Development Cookbook(Second Edition)
- R Data Mining
- 工業(yè)機(jī)器人技術(shù)及應(yīng)用
- 教父母學(xué)會上網(wǎng)
- 運(yùn)動控制器與交流伺服系統(tǒng)的調(diào)試和應(yīng)用
- 內(nèi)模控制及其應(yīng)用
- 基于企業(yè)網(wǎng)站的顧客感知服務(wù)質(zhì)量評價理論模型與實證研究
- 智慧未來
- 大型機(jī)系統(tǒng)應(yīng)用基礎(chǔ)
- ROS Robotics By Example(Second Edition)
- Mastering SQL Server 2014 Data Mining
- 歐姆龍CP1H型PLC編程與應(yīng)用
- OSGi原理與最佳實踐
- Internet of Things for Architects