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
| Parameter | Type | Description |
|---|---|---|
lang | Lowercase<string> | PlanOperator.lang |
type | QuantifierType | Whether the quantification is ALL or ANY. |
query | PlanOperator | The 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
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
| Parameter | Type |
|---|---|
visitors | Record<string, PlanVisitor<Ret, Arg>> |
arg? | Arg |
Returns
Ret
Implementation of
clone()
clone(
meta?):Quantifier
Defined in: packages/core/src/plan/operators/item/quantifier.ts:52
Clone this Quantifier
Parameters
| Parameter | Type | Description |
|---|---|---|
meta? | ArgMeta[] | provided by cloned Calculation, should be modified in-place to reflect new locations of arguments |
Returns
Quantifier
Implementation of
getChildren()
getChildren():
PlanOperator[]
Defined in: packages/core/src/plan/operators/item/quantifier.ts:43
PlanOperator.getChildren
Returns
Implementation of
getDependencies()
getDependencies():
IdSet
Defined in: packages/core/src/plan/operators/item/quantifier.ts:66
PlanOperator.getDependencies
Returns
Implementation of
replaceChild()
replaceChild(
current,replacement):void
Defined in: packages/core/src/plan/operators/item/quantifier.ts:38
PlanOperator.replaceChild
Parameters
| Parameter | Type |
|---|---|
current | PlanOperator |
replacement | PlanOperator |
Returns
void