Skip to main content

Class: Quantifier

Defined in: packages/core/src/plan/operators/item/quantifier.ts:15

Wraps a subquery with an ALL or ANY quantifier for use in a comparison expression.

Implements​

Constructors​

Constructor​

new Quantifier(lang, type, query): Quantifier

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

Parameters​

ParameterTypeDescription
langLowercase<string>PlanOperator.lang
typeQuantifierTypeWhether the quantification is ALL or ANY.
queryPlanOperatorThe subquery operator whose rows are quantified.

Returns​

Quantifier

Properties​

[CalcIntermediate]​

[CalcIntermediate]: boolean = true

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

Marks this as a CalcIntermediate sub-operator of a Calculation.


lang​

lang: Lowercase<string>

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

PlanOperator.lang

Implementation of​

PlanOperator.lang


query​

query: PlanOperator

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

The subquery operator whose rows are quantified.


type​

type: QuantifierType

Defined in: packages/core/src/plan/operators/item/quantifier.ts:23

Whether the quantification is ALL or ANY.

Methods​

accept()​

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

Defined in: packages/core/src/plan/operators/item/quantifier.ts:31

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(meta?): Quantifier

Defined in: packages/core/src/plan/operators/item/quantifier.ts:52

Clone this Quantifier

Parameters​

ParameterTypeDescription
meta?ArgMeta[]provided by cloned Calculation, should be modified in-place to reflect new locations of arguments

Returns​

Quantifier

Implementation of​

PlanOperator.clone


getChildren()​

getChildren(): PlanOperator[]

Defined in: packages/core/src/plan/operators/item/quantifier.ts:43

PlanOperator.getChildren

Returns​

PlanOperator[]

Implementation of​

PlanOperator.getChildren


getDependencies()​

getDependencies(): IdSet

Defined in: packages/core/src/plan/operators/item/quantifier.ts:66

PlanOperator.getDependencies

Returns​

IdSet

Implementation of​

PlanOperator.getDependencies


replaceChild()​

replaceChild(current, replacement): void

Defined in: packages/core/src/plan/operators/item/quantifier.ts:38

PlanOperator.replaceChild

Parameters​

ParameterType
currentPlanOperator
replacementPlanOperator

Returns​

void

Implementation of​

PlanOperator.replaceChild