Skip to main content

Class: ItemSource

Defined in: packages/core/src/plan/operators/item/item-source.ts:10

A leaf operator that produces items from a named data source.

Implements​

Constructors​

Constructor​

new ItemSource(lang, name): ItemSource

Defined in: packages/core/src/plan/operators/item/item-source.ts:17

Parameters​

ParameterTypeDescription
langLowercase<string>PlanOperator.lang
nameASTIdentifier | Aliased<ASTIdentifier>This should be aliased only while building the plan. It should be replaced with Projection before the actual execution.

Returns​

ItemSource

Properties​

lang​

lang: Lowercase<string>

Defined in: packages/core/src/plan/operators/item/item-source.ts:19

PlanOperator.lang

Implementation of​

PlanOperator.lang


name​

name: ASTIdentifier | Aliased<ASTIdentifier>

Defined in: packages/core/src/plan/operators/item/item-source.ts:21

Data source name; may be aliased during plan construction but must be resolved before execution.


parent​

parent: PlanOperator

Defined in: packages/core/src/plan/operators/item/item-source.ts:12

PlanOperator.parent

Implementation of​

PlanOperator.parent

Methods​

accept()​

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

Defined in: packages/core/src/plan/operators/item/item-source.ts:25

PlanOperator.accept

Type Parameters​

Type Parameter
Ret
Arg

Parameters​

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

Returns​

Ret

Implementation of​

PlanOperator.accept


clone()​

clone(): ItemSource

Defined in: packages/core/src/plan/operators/item/item-source.ts:40

PlanOperator.clone

Returns​

ItemSource

Implementation of​

PlanOperator.clone


getChildren()​

getChildren(): PlanOperator[]

Defined in: packages/core/src/plan/operators/item/item-source.ts:36

PlanOperator.getChildren

Returns​

PlanOperator[]

Implementation of​

PlanOperator.getChildren


getDependencies()​

getDependencies(): IdSet

Defined in: packages/core/src/plan/operators/item/item-source.ts:44

PlanOperator.getDependencies

Returns​

IdSet

Implementation of​

PlanOperator.getDependencies


replaceChild()​

replaceChild(current, replacement): void

Defined in: packages/core/src/plan/operators/item/item-source.ts:32

PlanOperator.replaceChild

Parameters​

ParameterType
currentPlanOperator
replacementPlanOperator

Returns​

void

Implementation of​

PlanOperator.replaceChild