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
| Parameter | Type | Description |
|---|---|---|
db | DortDBAsFriend | Internal database interface. |
Returns
ProjConcatToJoin
Properties
db
protecteddb: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
tdepsVmap
protectedtdepsVmap: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
| Parameter | Type | Description |
|---|---|---|
node | ProjectionConcat | The plan operator to match. |
Returns
PatternRuleMatchResult<unknown>
Implementation of
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
| Parameter | Type | Description |
|---|---|---|
node | ProjectionConcat | The plan operator to transform. |
bindings | any | The bindings to use for the transformation. |