Skip to main content

ConcatenateNode

  • Namespace: PPDS.Dataverse.Query.Planning.Nodes
  • Assembly: PPDS.Dataverse
  • Kind: Class
  • Implements: IQueryPlanNode

Summary

Concatenates rows from multiple child nodes sequentially. Used for UNION ALL — yields all rows from child 1, then child 2, etc.

Members

Constructors

ConcatenateNode(IReadOnlyList<IQueryPlanNode> inputs)

ConcatenateNode(IReadOnlyList<IQueryPlanNode> inputs)

Initializes a new instance of the PPDS.Dataverse.Query.Planning.Nodes.ConcatenateNode class.

Methods

ExecuteAsync

IAsyncEnumerable<QueryRow> ExecuteAsync(QueryPlanContext context, CancellationToken cancellationToken)

Execute this node, producing rows.

Properties

Children

IReadOnlyList<IQueryPlanNode> Children { get; }

Child nodes (inputs to this operator).

Description

string Description { get; }

Human-readable description for EXPLAIN output.

EstimatedRows

long EstimatedRows { get; }

Estimated row count (for cost-based decisions). -1 if unknown.

Inputs

IReadOnlyList<IQueryPlanNode> Inputs { get; }

The child nodes whose rows are concatenated.