|
smollerGraph 0.20.2
A small graph database, from scratch
|
One step of a plan. More...
#include <plan.h>
Public Types | |
| enum class | Kind { kNodeIndexSeek , kAllNodesScan , kNodeByLabelScan , kExpand , kFilter , kHasLabel , kShortestPath , kCheapestPath } |
Public Attributes | |
| Kind | kind |
| int | from = -1 |
| int | to = -1 |
| std::string | text {} |
| std::string | op = "=" |
| A filter's operator, and the value it compares with. | |
| Value | value {} |
| Direction | direction = Direction::kOut |
| Which of its node's relationships an expand or a path follows. | |
| std::string | weight {} |
| The property a cheapest path adds up. | |
| std::vector< std::string > | types {} |
| The relationship types an expand or a path follows. | |
One step of a plan.
A plan works on rows, which have a slot for each node of the pattern, and each step turns the rows it's given into the rows for the next step. The steps take their names from Neo4j's plans.
|
strong |
| Direction smollergraph::Step::direction = Direction::kOut |
| std::string smollergraph::Step::op = "=" |
| std::vector<std::string> smollergraph::Step::types {} |
| std::string smollergraph::Step::weight {} |