Skip to main content

Class: ProjConcatToJoin

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:15

Converts a non-correlated projection concatenation into a join or cartesian product operator.

Implements

Constructors

Constructor

new ProjConcatToJoin(db): ProjConcatToJoin

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:20

Parameters

ParameterTypeDescription
dbDortDBAsFriendInternal database interface.

Returns

ProjConcatToJoin

Properties

db

protected db: DortDBAsFriend

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:22

Internal database interface.


operator

operator: typeof ProjectionConcat = ProjectionConcat

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:16

The operator this rule starts matching at.

Implementation of

PatternRule.operator


tdepsVmap

protected tdepsVmap: Record<string, TransitiveDependencies>

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:18

Per-language transitive-dependency visitor instances.

Methods

match()

match(node): PatternRuleMatchResult<unknown>

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:26

Matches the given plan operator against this rule.

Parameters

ParameterTypeDescription
nodeProjectionConcatThe plan operator to match.

Returns

PatternRuleMatchResult<unknown>

Implementation of

PatternRule.match


transform()

transform(node, bindings): PlanOperator

Defined in: packages/core/src/optimizer/rules/remove-projection-concat.ts:33

Transforms the given plan operator using the provided bindings.

Parameters

ParameterTypeDescription
nodeProjectionConcatThe plan operator to transform.
bindingsanyThe bindings to use for the transformation.

Returns

PlanOperator

Implementation of

PatternRule.transform