Skip to main content

Class: SQLExecutor

Defined in: lang-sql/src/visitors/executor.ts:23

Extends the core Executor with SQL-specific plan operators.

Remarks​

visitLangSwitch, visitUsing, and visitTableAlias are not yet implemented and always throw.

Extends​

Implements​

Constructors​

Constructor​

new SQLExecutor(vmap, db): SQLExecutor

Defined in: lang-sql/src/visitors/executor.ts:31

Parameters​

ParameterType
vmapRecord<string, PlanVisitor<Iterable<unknown>, ExecutionContext>>
dbDortDBAsFriend

Returns​

SQLExecutor

Overrides​

Executor.constructor

Properties​

adapter​

protected adapter: SQLDataAdapter<any>

Defined in: lang-sql/src/visitors/executor.ts:28

SQL data adapter used to access column values from raw data rows.


calcBuilders​

protected calcBuilders: Record<string, PlanVisitor<CalculationParams, never>>

Defined in: core/dist/visitors/executor.d.ts:58

Per-language CalculationBuilder visitor map.

Inherited from​

Executor.calcBuilders


db​

protected db: DortDBAsFriend

Defined in: core/dist/visitors/executor.d.ts:52

Database instance providing sources, configuration, and the language manager.

Inherited from​

Executor.db


eqCheckers​

protected eqCheckers: Record<string, EqualityChecker>

Defined in: core/dist/visitors/executor.d.ts:60

Per-language EqualityChecker visitor map.

Inherited from​

Executor.eqCheckers


indexCache​

protected indexCache: Map<PlanTupleOperator, [Calculation[], IndexMatchInput[], HashJoinIndexStatic]>

Defined in: core/dist/visitors/executor.d.ts:65

Cache keyed by join operator; stores the chosen index and pre-computed calculation inputs so index selection is not repeated for each execution of the same plan.

Inherited from​

Executor.indexCache


lang​

protected lang: Lowercase<string>

Defined in: core/dist/visitors/executor.d.ts:48

The language identifier this executor handles.

Inherited from​

Executor.lang


serialize​

protected serialize: SerializeFn

Defined in: core/dist/visitors/executor.d.ts:54

Language-specific serialization function, used when converting tuple streams back to items.

Inherited from​

Executor.serialize


tdeps​

protected tdeps: Record<string, TransitiveDependencies>

Defined in: core/dist/visitors/executor.d.ts:56

Per-language TransitiveDependencies visitor map.

Inherited from​

Executor.tdeps


vmap​

protected vmap: Record<string, PlanVisitor<Iterable<unknown>, ExecutionContext>>

Defined in: core/dist/visitors/executor.d.ts:50

Per-language visitor map used for recursive dispatch.

Inherited from​

Executor.vmap

Methods​

bfsCheck()​

protected bfsCheck(queueFwd, queueRev, getNextItemsFwd, getNextItemsRev, ctx, keys, initialKeys, max): Trie<unknown>

Defined in: core/dist/visitors/executor.d.ts:155

Checks if there are any nodes reachable from both frontiers within the remaining path length.

Parameters​

ParameterType
queueFwdQueue<LinkedListNode<unknown[]>>
queueRevQueue<LinkedListNode<unknown[]>>
getNextItemsFwd(ctx) => Iterable<unknown[]>
getNextItemsRev(ctx) => Iterable<unknown[]>
ctxExecutionContext
keysnumber[]
initialKeysnumber[]
maxnumber

Returns​

Trie<unknown>

Inherited from​

Executor.bfsCheck


bfsCheckSide()​

protected bfsCheckSide(queue, getNextItems, ctx, keys, initialKeys, max, visitOnly?): Trie<unknown, true>

Defined in: core/dist/visitors/executor.d.ts:151

Performs a pure BFS from the nodes in queue, collecting all reachable join-key values within max hops. When visitOnly is provided, only nodes whose keys appear in that set are explored, acting as a pre-computed reachability filter.

Parameters​

ParameterType
queueQueue<LinkedListNode<unknown[]>>
getNextItems(ctx) => Iterable<unknown[]>
ctxExecutionContext
keysnumber[]
initialKeysnumber[]
maxnumber
visitOnly?Trie<unknown>

Returns​

Trie<unknown, true>

The set of join-key values visited during this BFS.

Inherited from​

Executor.bfsCheckSide


distinctCheck()​

protected distinctCheck(keys, seen, ctx): boolean

Defined in: core/dist/visitors/executor.d.ts:272

Check if an item loaded in the current context is included in the distinct output for the specified keys. If so, it is added to the seen set.

Parameters​

ParameterType
keys(ASTIdentifier | Calculation)[]
seenTrie<unknown>
ctxExecutionContext

Returns​

boolean

Inherited from​

Executor.distinctCheck


distinctStream()​

protected distinctStream(stream, keys, seen, ctx): Iterable<unknown[]>

Defined in: core/dist/visitors/executor.d.ts:267

Create a wrapper around a stream of tuples that ensures only distinct combinations of values for the specified keys are produced.

Parameters​

ParameterType
streamIterable<unknown[]>
keys(ASTIdentifier | Calculation)[]
seenTrie<unknown>
ctxExecutionContext

Returns​

Iterable<unknown[]>

Inherited from​

Executor.distinctStream


execute()​

execute(plan, varMapperCtx, boundParams?): object

Defined in: core/dist/visitors/executor.d.ts:84

Executes plan and returns the result iterable together with the populated execution context. If boundParams is provided, each entry is looked up in varMapperCtx and written into the context before evaluation begins.

Parameters​

ParameterType
planPlanOperator
varMapperCtxVariableMapperCtx
boundParams?Record<string, unknown>

Returns​

ctx​

ctx: ExecutionContext

The execution context populated with bound parameters and translation tables.

result​

result: Iterable<unknown>

The lazy result iterable produced by evaluating plan.

Throws​

When a key in boundParams does not correspond to a known bound parameter.

Inherited from​

Executor.execute


expandBidiFrontier()​

protected expandBidiFrontier(frontier, otherFrontier, visitedItems, pathSize, getNextItems, ctx, min, max, keys, initialKeys, isForward, searchSpace?): Generator<unknown[], void, unknown>

Defined in: core/dist/visitors/executor.d.ts:109

Advances one frontier by one BFS level, yielding joined paths whenever a node is also present in the opposite frontier's visited set.

Parameters​

ParameterTypeDescription
frontierQueue<LinkedListNode<unknown[]>>The queue to dequeue from this level.
otherFrontierTrie<unknown, LinkedListNode<unknown[]>[]>Visited nodes from the opposite direction.
visitedItemsTrie<unknown, LinkedListNode<unknown[]>[]>Accumulates newly visited nodes from this direction.
pathSizenumber-
getNextItems(ctx) => Iterable<unknown[]>-
ctxExecutionContext-
minnumber-
maxnumber-
keysnumber[]-
initialKeysnumber[]-
isForwardbooleantrue when expanding the forward frontier; affects path-join order.
searchSpace?Trie<unknown>When set, only nodes within this set are explored.

Returns​

Generator<unknown[], void, unknown>

Inherited from​

Executor.expandBidiFrontier


findIndexableExpressions()​

protected findIndexableExpressions(indexMatchInputs, iterPerRow): readonly [number[], HashJoinIndexStatic][]

Defined in: core/dist/visitors/executor.d.ts:221

From the potentially indexable expressions, find those that can be indexed by an available index. Futhermore, verify that the non-indexable parts of the condition do not depend on the iterPerRow side

Parameters​

ParameterType
indexMatchInputsIndexMatchInput & object[]
iterPerRowPlanTupleOperator

Returns​

readonly [number[], HashJoinIndexStatic][]

Inherited from​

Executor.findIndexableExpressions


generateTuplesFromValues()​

protected generateTuplesFromValues(values, operator, ctx): Generator<unknown[], void, unknown>

Defined in: lang-sql/src/visitors/executor.ts:54

Convert items from a data source into tuples.

Parameters​

ParameterType
valuesIterable<unknown>
operatorPlanTupleOperator
ctxExecutionContext

Returns​

Generator<unknown[], void, unknown>

Overrides​

Executor.generateTuplesFromValues


getBestJoinIndex()​

protected getBestJoinIndex(iterOnce, iterPerRow, op, ctx): [Calculation[], IndexMatchInput[], HashJoinIndexStatic]

Defined in: core/dist/visitors/executor.d.ts:228

Returns the best available hash-join index triple for this join, or null when no usable index exists. Results are cached in indexCache per join operator.

Parameters​

ParameterType
iterOncePlanTupleOperator
iterPerRowPlanTupleOperator
opJoin
ctxExecutionContext

Returns​

[Calculation[], IndexMatchInput[], HashJoinIndexStatic]

Inherited from​

Executor.getBestJoinIndex


getBidiGroups()​

protected getBidiGroups(operator, ctx, srcRenamer): Queue<LinkedListNode<unknown[]>>[]

Defined in: core/dist/visitors/executor.d.ts:138

The bidirectional recursion target may depend on the source. It is, however, more efficient to process as many target items at once as possible. This method returns groups of source items for which target items can be processed together.

Parameters​

ParameterType
operatorBidirectionalRecursion
ctxExecutionContext
srcRenamer(row) => unknown[]

Returns​

Queue<LinkedListNode<unknown[]>>[]

Inherited from​

Executor.getBidiGroups


getBidiKeys()​

protected getBidiKeys(operator, ctx): object

Defined in: core/dist/visitors/executor.d.ts:119

Extracts the numeric key arrays and renamer functions needed to run the bidirectional BFS for operator, returning them as a plain object.

Parameters​

ParameterType
operatorBidirectionalRecursion
ctxExecutionContext

Returns​

fwdRenamer​

fwdRenamer: (item) => unknown[]

Renames forward-mapping output into the operator's schema.

Parameters​
ParameterType
itemunknown[]
Returns​

unknown[]

initialKeys​

initialKeys: number[]

Indices of variables that exist only in the source / target but not in the mapping.

keys​

keys: number[]

Shared path-variable indices (from the mapping schema).

revRenamer​

revRenamer: (item) => unknown[]

Renames reverse-mapping output into the operator's schema.

Parameters​
ParameterType
itemunknown[]
Returns​

unknown[]

srcRenamer​

srcRenamer: (item) => unknown[]

Renames initial source output into the operator's schema.

Parameters​
ParameterType
itemunknown[]
Returns​

unknown[]

tgtRenamer​

tgtRenamer: (item) => unknown[]

Renames target source output into the operator's schema.

Parameters​
ParameterType
itemunknown[]
Returns​

unknown[]

Inherited from​

Executor.getBidiKeys


getIndexMatchInputs()​

protected getIndexMatchInputs(iterOnce, op): IndexMatchInput & object[]

Defined in: core/dist/visitors/executor.d.ts:213

Get all function calls with at least one argument that does not depend on the iterOnce side of the join.

Parameters​

ParameterType
iterOncePlanTupleOperator
opJoin

Returns​

Inherited from​

Executor.getIndexMatchInputs


hashJoinValues()​

protected hashJoinValues(iterOnce, iterPerRow, op, ctx, indexInputCalcs, indexMatchInputs, idxCls): [Calculation[], Iterable<[unknown[], unknown[][]], any, any>, Iterable<unknown[], any, any>]

Defined in: core/dist/visitors/executor.d.ts:205

Executes a hash join using idxCls to index the iterPerRow side, then probes it for each row from iterOnce.

Parameters​

ParameterType
iterOncePlanTupleOperator
iterPerRowPlanTupleOperator
opJoin
ctxExecutionContext
indexInputCalcsCalculation[]
indexMatchInputsIndexMatchInput[]
idxClsHashJoinIndexStatic

Returns​

[Calculation[], Iterable<[unknown[], unknown[][]], any, any>, Iterable<unknown[], any, any>]

The same three-element tuple as joinValues: remaining conditions, pairs, and all inner items.

Inherited from​

Executor.hashJoinValues


initBidiFrontiers()​

protected initBidiFrontiers(operator, ctx, fwdFrontier, revFrontier, fwdVisited, revVisited, keys, initialKeys, tgtRenamer): Generator<unknown[], void, unknown>

Defined in: core/dist/visitors/executor.d.ts:143

Seeds both BFS frontiers from a group of source items and the corresponding target items, yielding length-1 paths when operator.min <= 1.

Parameters​

ParameterType
operatorBidirectionalRecursion
ctxExecutionContext
fwdFrontierQueue<LinkedListNode<unknown[]>>
revFrontierQueue<LinkedListNode<unknown[]>>
fwdVisitedTrie<unknown, LinkedListNode<unknown[]>[]>
revVisitedTrie<unknown, LinkedListNode<unknown[]>[]>
keysnumber[]
initialKeysnumber[]
tgtRenamer(row) => unknown[]

Returns​

Generator<unknown[], void, unknown>

Inherited from​

Executor.initBidiFrontiers


joinBidiPaths()​

protected joinBidiPaths(fwdPaths, revPaths, ctx, keys, initialKeys): Generator<unknown[], void, unknown>

Defined in: core/dist/visitors/executor.d.ts:114

Yields all result tuples formed by concatenating each forward path with each reverse path that meets at the same join-key values.

Parameters​

ParameterType
fwdPathsLinkedListNode<unknown[]>[]
revPathsLinkedListNode<unknown[]>[]
ctxExecutionContext
keysnumber[]
initialKeysnumber[]

Returns​

Generator<unknown[], void, unknown>

Inherited from​

Executor.joinBidiPaths


joinValues()​

protected joinValues(iterOnce, iterPerRow, op, ctx): [Calculation[], Iterable<[unknown[], unknown[][]], any, any>, Iterable<unknown[], any, any>]

Defined in: core/dist/visitors/executor.d.ts:193

Joins can be executed in different ways depending on the join conditions. This method determines the best way to execute the join and returns the remaining conditions to check and values.

Parameters​

ParameterTypeDescription
iterOncePlanTupleOperatorthe branch that is the outer iteration loop
iterPerRowPlanTupleOperatorthe branch that is the inner iteration loop
opJointhe join operator
ctxExecutionContext-

Returns​

[Calculation[], Iterable<[unknown[], unknown[][]], any, any>, Iterable<unknown[], any, any>]

[remaining conditions, iterable of [outer item, array of matching inner items], all inner items]

Inherited from​

Executor.joinValues


nestedLoopJoinValues()​

protected nestedLoopJoinValues(iterOnce, iterPerRow, ctx): [Iterable<[unknown[], unknown[][]], any, any>, Iterable<unknown[], any, any>]

Defined in: core/dist/visitors/executor.d.ts:233

Materialises iterPerRow into an array, then pairs each iterOnce row with the full array, producing the nested-loop join input for the join variants.

Parameters​

ParameterType
iterOncePlanTupleOperator
iterPerRowPlanTupleOperator
ctxExecutionContext

Returns​

[Iterable<[unknown[], unknown[][]], any, any>, Iterable<unknown[], any, any>]

Inherited from​

Executor.nestedLoopJoinValues


prepareAggNullChecks()​

protected prepareAggNullChecks(operator, ctx): (x, j) => boolean[]

Defined in: core/dist/visitors/executor.d.ts:249

Returns a per-aggregate, per-argument null-check function array used inside visitGroupBy to determine whether a row should be skipped (e.g. when the aggregate does not include nulls and the argument is the allAttrs sentinel).

Parameters​

ParameterType
operatorGroupBy
ctxExecutionContext

Returns​

(x, j) => boolean[]

Inherited from​

Executor.prepareAggNullChecks


processItem()​

protected processItem(item, ctx): unknown

Defined in: core/dist/visitors/executor.d.ts:94

Resolves a single value: looks up an ASTIdentifier in ctx, or evaluates a plan.Calculation and returns its first (and only expected) result.

Parameters​

ParameterType
itemASTIdentifier | Calculation
ctxExecutionContext

Returns​

unknown

Inherited from​

Executor.processItem


renameKeys()​

protected renameKeys(item, oldKeys, newKeys): unknown[]

Defined in: core/dist/visitors/executor.d.ts:96

Rename the item to use another scope addressing

Parameters​

ParameterType
itemunknown[]
oldKeysnumber[]
newKeysnumber[]

Returns​

unknown[]

Inherited from​

Executor.renameKeys


validateSingleValue()​

protected validateSingleValue<T>(operator, items): Iterable<T>

Defined in: core/dist/visitors/executor.d.ts:236

Validates that an operator returns only a single value

Type Parameters​

Type Parameter
T

Parameters​

ParameterType
operator{ validateSingleValue: boolean; }
operator.validateSingleValueboolean
itemsIterable<T>

Returns​

Iterable<T>

Inherited from​

Executor.validateSingleValue


visitAggregate()​

visitAggregate(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:275

Parameters​

ParameterType
operatorAggregateCall
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitAggregate

Inherited from​

Executor.visitAggregate


visitBidirectionalRecursion()​

visitBidirectionalRecursion(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:156

Parameters​

ParameterType
operatorBidirectionalRecursion
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitBidirectionalRecursion

Inherited from​

Executor.visitBidirectionalRecursion


visitCalculation()​

visitCalculation(operator, ctx): [unknown]

Defined in: core/dist/visitors/executor.d.ts:171

Evaluates operator synchronously and returns the single result value wrapped in a one-element tuple.

Parameters​

ParameterType
operatorCalculation
ctxExecutionContext

Returns​

[unknown]

Remarks​

Unlike all other visitX methods, the return type is [unknown] - a single-element tuple - rather than Iterable<unknown>. This is intentional: a Calculation always produces exactly one value and the tuple avoids boxing overhead.

Implementation of​

SQLPlanVisitor.visitCalculation

Inherited from​

Executor.visitCalculation


visitCartesianProduct()​

visitCartesianProduct(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:173

Parameters​

ParameterType
operatorCartesianProduct
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitCartesianProduct

Inherited from​

Executor.visitCartesianProduct


visitConditional()​

visitConditional(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:172

Parameters​

ParameterType
operatorConditional
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitConditional

Inherited from​

Executor.visitConditional


visitDifference()​

visitDifference(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:258

Parameters​

ParameterType
operatorDifference
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitDifference

Inherited from​

Executor.visitDifference


visitDifferenceItems()​

protected visitDifferenceItems(left, right): Generator<unknown, void, unknown>

Defined in: core/dist/visitors/executor.d.ts:263

Item-mode difference: yields each element from left that does not appear in right. Used when neither operand is a tuple operator.

Parameters​

ParameterType
leftIterable<unknown>
rightIterable<unknown>

Returns​

Generator<unknown, void, unknown>

Inherited from​

Executor.visitDifferenceItems


visitDistinct()​

visitDistinct(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:273

Parameters​

ParameterType
operatorDistinct
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitDistinct

Inherited from​

Executor.visitDistinct


visitFnCall()​

visitFnCall(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:161

Parameters​

ParameterType
operatorFnCall
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitFnCall

Inherited from​

Executor.visitFnCall


visitFullJoin()​

protected visitFullJoin(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:184

Executes a full-outer join; called by visitJoin.

Parameters​

ParameterType
operatorJoin
ctxExecutionContext

Returns​

Iterable<unknown>

Inherited from​

Executor.visitFullJoin


visitGroupBy()​

visitGroupBy(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:243

Parameters​

ParameterType
operatorGroupBy
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitGroupBy

Inherited from​

Executor.visitGroupBy


visitIndexedRecursion()​

visitIndexedRecursion(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:98

Parameters​

ParameterType
operatorIndexedRecursion
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitIndexedRecursion

Inherited from​

Executor.visitIndexedRecursion


visitIndexScan()​

visitIndexScan(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:279

Parameters​

ParameterType
operatorIndexScan
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitIndexScan

Inherited from​

Executor.visitIndexScan


visitInnerJoin()​

protected visitInnerJoin(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:176

Executes a standard (non-outer) join; called by visitJoin.

Parameters​

ParameterType
operatorJoin
ctxExecutionContext

Returns​

Iterable<unknown>

Inherited from​

Executor.visitInnerJoin


visitIntersection()​

visitIntersection(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:252

Parameters​

ParameterType
operatorIntersection
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitIntersection

Inherited from​

Executor.visitIntersection


visitIntersectionItems()​

protected visitIntersectionItems(left, right): Generator<unknown, void, unknown>

Defined in: core/dist/visitors/executor.d.ts:257

Item-mode intersection: yields each element from right that also appears in left. Used when neither operand is a tuple operator.

Parameters​

ParameterType
leftIterable<unknown>
rightIterable<unknown>

Returns​

Generator<unknown, void, unknown>

Inherited from​

Executor.visitIntersectionItems


visitItemFnSource()​

visitItemFnSource(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:276

Parameters​

ParameterType
operatorItemFnSource
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitItemFnSource

Inherited from​

Executor.visitItemFnSource


visitItemSource()​

visitItemSource(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:160

Parameters​

ParameterType
operatorItemSource
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitItemSource

Inherited from​

Executor.visitItemSource


visitJoin()​

visitJoin(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:174

Parameters​

ParameterType
operatorJoin
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitJoin

Inherited from​

Executor.visitJoin


visitLangSwitch()​

visitLangSwitch(operator, ctx): Iterable<unknown>

Defined in: lang-sql/src/visitors/executor.ts:38

Parameters​

ParameterType
operatorLangSwitch
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitLangSwitch


visitLeftJoin()​

protected visitLeftJoin(left, right, op, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:182

Executes a left-outer join: every row from left appears in the output, padded with nulls when no matching row exists in right. Called by visitJoin for both left-outer and right-outer cases (with sides swapped for the latter).

Parameters​

ParameterType
leftPlanTupleOperator
rightPlanTupleOperator
opJoin
ctxExecutionContext

Returns​

Iterable<unknown>

Inherited from​

Executor.visitLeftJoin


visitLimit()​

visitLimit(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:250

Parameters​

ParameterType
operatorLimit
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitLimit

Inherited from​

Executor.visitLimit


visitLiteral()​

visitLiteral(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:162

Parameters​

ParameterType
operatorLiteral
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitLiteral

Inherited from​

Executor.visitLiteral


visitMapFromItem()​

visitMapFromItem(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:240

Parameters​

ParameterType
operatorMapFromItem
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitMapFromItem

Inherited from​

Executor.visitMapFromItem


visitMapToItem()​

visitMapToItem(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:239

Parameters​

ParameterType
operatorMapToItem
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitMapToItem

Inherited from​

Executor.visitMapToItem


visitNullSource()​

visitNullSource(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:274

Parameters​

ParameterType
operatorNullSource
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitNullSource

Inherited from​

Executor.visitNullSource


visitOrderBy()​

visitOrderBy(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:242

Parameters​

ParameterType
operatorOrderBy
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitOrderBy

Inherited from​

Executor.visitOrderBy


visitProjection()​

visitProjection(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:157

Parameters​

ParameterType
operatorProjection
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitProjection

Inherited from​

Executor.visitProjection


visitProjectionConcat()​

visitProjectionConcat(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:234

Parameters​

ParameterType
operatorProjectionConcat
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitProjectionConcat

Inherited from​

Executor.visitProjectionConcat


visitProjectionIndex()​

visitProjectionIndex(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:241

Parameters​

ParameterType
operatorProjectionIndex
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitProjectionIndex

Inherited from​

Executor.visitProjectionIndex


visitQuantifier()​

visitQuantifier(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:278

Parameters​

ParameterType
operatorQuantifier
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitQuantifier

Inherited from​

Executor.visitQuantifier


visitRecursion()​

visitRecursion(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:97

Parameters​

ParameterType
operatorRecursion
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitRecursion

Inherited from​

Executor.visitRecursion


visitSelection()​

visitSelection(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:158

Parameters​

ParameterType
operatorSelection
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitSelection

Inherited from​

Executor.visitSelection


visitTableAlias()​

visitTableAlias(operator, ctx): Iterable<unknown>

Defined in: lang-sql/src/visitors/executor.ts:47

Parameters​

ParameterType
operatorTableAlias
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitTableAlias


visitTupleFnSource()​

visitTupleFnSource(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:277

Parameters​

ParameterType
operatorTupleFnSource
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitTupleFnSource

Inherited from​

Executor.visitTupleFnSource


visitTupleSource()​

visitTupleSource(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:159

Parameters​

ParameterType
operatorTupleSource
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitTupleSource

Inherited from​

Executor.visitTupleSource


visitUnion()​

visitUnion(operator, ctx): Iterable<unknown>

Defined in: core/dist/visitors/executor.d.ts:251

Parameters​

ParameterType
operatorUnion
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitUnion

Inherited from​

Executor.visitUnion


visitUsing()​

visitUsing(operator, ctx): Iterable<unknown>

Defined in: lang-sql/src/visitors/executor.ts:44

Parameters​

ParameterType
operatorUsing
ctxExecutionContext

Returns​

Iterable<unknown>

Implementation of​

SQLPlanVisitor.visitUsing