Chapter 4. The power of traversals
This chapter covers
- Querying Neo4j using the Core Java API
- Traversing nodes and relationships using the Neo4j Traversal API
- Extending and customizing built-in Neo4j traversal operations
Chapter 3 introduced you to the Neo4j Core Java API and you created a graph representing a social network of users and the movies they like. In this chapter we’re going to look at graph traversals—a powerful way of querying the graph data. Graph traversal is the process of visiting nodes in the graph by following the relationships between nodes in a particular manner.
We’ll demonstrate the traversal options by showing you how to solve simple traversal problems, followed by more complex ones. In this chapter you’ll get ...
Get Neo4j in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.