- Learning Neo4j 3.x(Second Edition)
- Jér?me Baton Rik Van Bruggen
- 226字
- 2021-07-08 09:37:36
Pathfinding queries
Another type of query that is extremely well-suited for graph databases is a query where you will be looking to find out how different data elements are related to each other. In other words, finding the paths between different nodes on your graph. The problem with such queries in other database management systems is that you will actually have to understand the structure of the potential paths extremely well. You will have to be able to tell the database how to jump from table to table, so to speak. In a graph database, you can still do that, but typically you won't. You just tell the database to apply a graph algorithm to a starting point and an endpoint and be done with it. It's up to the database to figure out if and how these data elements are connected to each other and return the result as a path expression for you to use in your system. The fact that you are able to delegate this to the database is extremely useful, and often leads to unexpected and valuable insights.
Obviously, the query categories mentioned are just that: categories. You would have to apply it to any of the fields of research that we discussed earlier in this chapter to really reap the benefits. We will come back to this in later chapters.
- C語言程序設(shè)計實踐教程(第2版)
- Web前端開發(fā)技術(shù):HTML、CSS、JavaScript(第3版)
- Git Version Control Cookbook
- LabVIEW入門與實戰(zhàn)開發(fā)100例
- Getting Started with Python Data Analysis
- Python忍者秘籍
- Mastering Android Game Development
- Machine Learning in Java
- ASP.NET程序開發(fā)范例寶典
- Machine Learning With Go
- 石墨烯改性塑料
- The Statistics and Calculus with Python Workshop
- SQL Server實例教程(2008版)
- 計算機程序的構(gòu)造和解釋(JavaScript版)
- 你必須知道的.NET(第2版)