Skip to content

Commit 5574338

Browse files
Name Repeat operator without Trail/Walk parameter (#1343)
All the description of the operator should be applicable independent of the traversal path mode. In EXPLAIN outputs, the parameter will be included, though. I have left the description in the additions document, as this is how it was introduced. Maybe we should rename it there as well. Co-authored-by: Richard Sill <[email protected]>
1 parent 1ccfc70 commit 5574338

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

modules/ROOT/pages/planning-and-tuning/execution-plans.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ The `id` column specifies a unique ID assigned to each operator.
141141
There are no guarantees about the order of the ids, although they will usually start with 0 at the root operator, and will increase until the leaf operator is reached at the beginning of the operator tree.
142142

143143
The `Details` column in the middle of the execution plan describes what task is performed by each operator.
144-
For example, the details column of the xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[Repeat(Trail)] operator in the middle of the execution plan (`id 5`), specifies that the operator traverses a quantified path pattern without an upward limit.
144+
For example, the details column of the xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[Repeat] operator in the middle of the execution plan (`id 5`), specifies that the operator traverses a quantified path pattern without an upward limit.
145145

146146
Finally, the `Estimated Rows` column details the number of rows that are expected to be produced by each operator.
147147
This estimate is an approximate number based on the available statistical information and the planner uses it to choose a suitable execution plan.footnote:[The statistical information maintained by Neo4j includes the following: the number of nodes having a certain label, the number of relationships by type, selectivity per index, and the number of relationships by type, ending with or starting from a node with a specific label.]

modules/ROOT/pages/planning-and-tuning/operators/index.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ Tests for the presence of a pattern predicate in queries containing multiple pat
423423
|
424424

425425
| xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-nullify-metadata[NullifyMetadata]
426-
| responsible for cleaning up the state produced by xref:planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[`Repeat(Trail)`].
427-
It is only planned directly after `Repeat(Trail)`.
426+
| responsible for cleaning up the state produced by xref:planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[`Repeat`].
427+
It is only planned directly after `Repeat`.
428428
|
429429
|
430430
|
@@ -632,7 +632,7 @@ It also fetches the start and end nodes of those relationships.
632632
|
633633
|
634634

635-
| xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[Repeat(Trail)]
635+
| xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[Repeat]
636636
| Solves quantified path patterns.
637637
|
638638
|

modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4063,15 +4063,15 @@ Total database accesses: 49, total allocated memory: 1200
40634063

40644064

40654065
[[query-plan-repeat]]
4066-
=== Repeat (Trail)
4067-
// Repeat(Trail)
4066+
=== Repeat
4067+
// Repeat
40684068

4069-
Given a start node, the `Repeat(Trail)` operator will traverse xref::patterns/variable-length-patterns.adoc#quantified-path-patterns[quantified path patterns] that cannot be solved (or solved efficiently) with the xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-varlength-expand-all[`VarLengthExpand(All)`] operator.
4069+
Given a start node, the `Repeat` operator will traverse xref::patterns/variable-length-patterns.adoc#quantified-path-patterns[quantified path patterns] that cannot be solved (or solved efficiently) with the xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-varlength-expand-all[`VarLengthExpand(All)`] operator.
40704070
Similar to an xref::planning-and-tuning/operators/operators-detail.adoc#query-plan-apply[`Apply`] operator, it takes a single row from the left-hand side and applies the operators on the right-hand side.
40714071
In contrast to `Apply`, however, it repeatedly applies these operators in accordance with the quantifiers on the quantified path pattern.
40724072
In the following example, the operator will repeat twice and produce rows for both repetitions.
40734073

4074-
.Repeat(Trail)
4074+
.Repeat
40754075
======
40764076
40774077
.Query
@@ -4127,8 +4127,8 @@ Total database accesses: 747, total allocated memory: 45832
41274127
[[query-plan-nullify-metadata]]
41284128
=== Nullify Metadata
41294129

4130-
`NullifyMetadata` is responsible for cleaning up the state produced by xref:planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[`Repeat(Trail)`].
4131-
It is only planned directly after `Repeat(Trail)`.
4130+
`NullifyMetadata` is responsible for cleaning up the state produced by xref:planning-and-tuning/operators/operators-detail.adoc#query-plan-repeat[`Repeat`].
4131+
It is only planned directly after `Repeat`.
41324132

41334133
.NullifyMetadata
41344134
======

0 commit comments

Comments
 (0)