Wait for all outstanding measurements of this plan to complete.
Statistics such as the produced number of results are only known once a node's output has been consumed. Serializing the plan without awaiting this first yields a plan that varies between runs, so this must be awaited before IPhysicalQueryPlanLogger#toJson.
Obtain the node that produced the given query operation output.
Nodes are associated with an output via IPhysicalQueryPlanNode#setOutput, which allows operations that consume an output to find the node that produced it, without having to pass plan nodes around themselves.
A query operation output.
The node that produced the output, or undefined if the output is unknown.
Log an operation, and obtain a handle to the plan node that was created for it.
Every call creates a distinct node, so an operation that is executed more than once
results in more than one node. Hierarchies are built by passing the handle of an
earlier call as parentNode. Exactly one node may be logged without a parent.
A repeated node is the exception: it stands for all evaluations of one thing within one
operation, so logging it again under the same parent returns the node that already stands
for them. Operations that open such a group per evaluation therefore need not remember it.
The operation to log.
A handle to the created node.
Associate a query operation output with the given node, and start measuring it.
An operation that passes its input's output through unchanged, such as a wrapping join, registers an output that was already registered by the operation below it. The last registration wins.
A query operation output.
The node that produced the output.
Serialize the collected query plan as an indented tree.
If the measurements of each operator are included. Without them the plan only says what ran, which is what most readers are after; with them every line also reports how much it produced and how long it took.
Serialize the collected query plan to JSON.
StaticaggregateSummarize the measurements of the given repeated occurrences of the same sub-plan.
Nodes that all have the same plan shape.
StaticoccurrencesSummarize a group of repeated occurrences as a suffix for the compact plan.
A group of repeated occurrences.
If the totals of the group are included.
A physical query plan logger that stores everything in memory.