Skip to main content

Class: ProjectionConcat

Defined in: packages/core/src/plan/operators/tuple/projection.ts:108

dependent join, mapping can introduce columns which override the source

Extends​

Constructors​

Constructor​

new ProjectionConcat(lang, mapping, outer, source): ProjectionConcat

Defined in: packages/core/src/plan/operators/tuple/projection.ts:118

Parameters​

ParameterTypeDescription
langLowercase<string>-
mappingPlanTupleOperatormapping must be interpreted in the context of the source
outerbooleanWhen true, rows from source with no matching mapping rows are still emitted (outer join).
sourcePlanTupleOperatorTuple operator providing the driving rows.

Returns​

ProjectionConcat

Overrides​

PlanTupleOperator.constructor

Properties​

emptyVal​

emptyVal: Trie<string | number | symbol, unknown>

Defined in: packages/core/src/plan/operators/tuple/projection.ts:112

empty value for the outer join (default is null)


lang​

lang: Lowercase<string>

Defined in: packages/core/src/plan/visitor.ts:42

PlanOperator.lang

Inherited from​

PlanTupleOperator.lang


mapping​

mapping: PlanTupleOperator

Defined in: packages/core/src/plan/operators/tuple/projection.ts:121

mapping must be interpreted in the context of the source


outer​

outer: boolean

Defined in: packages/core/src/plan/operators/tuple/projection.ts:123

When true, rows from source with no matching mapping rows are still emitted (outer join).


parent?​

optional parent?: PlanOperator

Defined in: packages/core/src/plan/visitor.ts:44

PlanOperator.parent

Inherited from​

PlanTupleOperator.parent


schema​

schema: ASTIdentifier[]

Defined in: packages/core/src/plan/visitor.ts:38

Ordered list of attribute identifiers produced by this operator.

Inherited from​

PlanTupleOperator.schema


schemaSet​

schemaSet: IdSet

Defined in: packages/core/src/plan/visitor.ts:40

Trie-backed set of the same paths as schema; used for O(k) membership tests.

Inherited from​

PlanTupleOperator.schemaSet


source​

source: PlanTupleOperator

Defined in: packages/core/src/plan/operators/tuple/projection.ts:125

Tuple operator providing the driving rows.


validateSingleValue​

validateSingleValue: boolean = false

Defined in: packages/core/src/plan/operators/tuple/projection.ts:116

if true, the mapping is not allowed to return multiple values per one source value

Methods​

accept()​

accept<Ret, Arg>(visitors, arg?): Ret

Defined in: packages/core/src/plan/operators/tuple/projection.ts:138

PlanOperator.accept

Type Parameters​

Type Parameter
Ret
Arg

Parameters​

ParameterType
visitorsRecord<string, PlanVisitor<Ret, Arg>>
arg?Arg

Returns​

Ret

Overrides​

PlanTupleOperator.accept


addToSchema()​

addToSchema(item): void

Defined in: packages/core/src/plan/visitor.ts:57

will preserve object references

Parameters​

ParameterType
itemIdSet | ASTIdentifier | ASTIdentifier[]

Returns​

void

Inherited from​

PlanTupleOperator.addToSchema


clearSchema()​

clearSchema(): void

Defined in: packages/core/src/plan/visitor.ts:102

will preserve object references

Returns​

void

Inherited from​

PlanTupleOperator.clearSchema


clone()​

clone(): ProjectionConcat

Defined in: packages/core/src/plan/operators/tuple/projection.ts:165

PlanOperator.clone

Returns​

ProjectionConcat

Overrides​

PlanTupleOperator.clone


getChildren()​

getChildren(): PlanOperator[]

Defined in: packages/core/src/plan/operators/tuple/projection.ts:161

PlanOperator.getChildren

Returns​

PlanOperator[]

Overrides​

PlanTupleOperator.getChildren


getDependencies()​

getDependencies(): IdSet

Defined in: packages/core/src/plan/visitor.ts:113

PlanOperator.getDependencies

Returns​

IdSet

Inherited from​

PlanTupleOperator.getDependencies


removeFromSchema()​

removeFromSchema(item): boolean

Defined in: packages/core/src/plan/visitor.ts:80

will preserve object references

Parameters​

ParameterType
itemIdSet | ASTIdentifier | ASTIdentifier[]

Returns​

boolean

Inherited from​

PlanTupleOperator.removeFromSchema


replaceChild()​

replaceChild(current, replacement): void

Defined in: packages/core/src/plan/operators/tuple/projection.ts:145

PlanOperator.replaceChild

Parameters​

ParameterType
currentPlanTupleOperator
replacementPlanTupleOperator

Returns​

void

Overrides​

PlanTupleOperator.replaceChild