Skip to main content

Class: XQueryExecutor

Defined in: lang-xquery/src/visitors/executor.ts:21

Extends Executor to evaluate XQuery-specific plan operators, implementing the XQuery focus context (item, position, size) for TreeJoin and materializing sequences for ProjectionSize.

Extends

Implements

Constructors

Constructor

new XQueryExecutor(vmap, db): XQueryExecutor

Defined in: lang-xquery/src/visitors/executor.ts:29

Parameters

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

Returns

XQueryExecutor

Overrides

Executor.constructor

Properties

adapter

protected adapter: XQueryDataAdapter<any>

Defined in: lang-xquery/src/visitors/executor.ts:26

XQuery data adapter used to materialize and traverse node values during execution.


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): Iterable<unknown[]>

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

Convert items from a data source into tuples.

Parameters

ParameterType
valuesIterable<unknown>
operatorPlanTupleOperator
ctxExecutionContext

Returns

Iterable<unknown[]>

Inherited from

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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.visitItemFnSource

Inherited from

Executor.visitItemFnSource


visitItemSource()

visitItemSource(operator, ctx): unknown[]

Defined in: lang-xquery/src/visitors/executor.ts:91

Resolves the named source from the database rather than from the execution context.

Parameters

ParameterType
operatorItemSource
ctxExecutionContext

Returns

unknown[]

Implementation of

XQueryPlanVisitor.visitItemSource

Overrides

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

XQueryPlanVisitor.visitJoin

Inherited from

Executor.visitJoin


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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.visitProjectionIndex

Inherited from

Executor.visitProjectionIndex


visitProjectionSize()

visitProjectionSize(operator, ctx): Iterable<unknown>

Defined in: lang-xquery/src/visitors/executor.ts:70

Parameters

ParameterType
operatorProjectionSize
ctxExecutionContext

Returns

Iterable<unknown>

Implementation of

XQueryPlanVisitor.visitProjectionSize


visitQuantifier()

visitQuantifier(operator, ctx): Iterable<unknown>

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

Parameters

ParameterType
operatorQuantifier
ctxExecutionContext

Returns

Iterable<unknown>

Implementation of

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.visitSelection

Inherited from

Executor.visitSelection


visitTreeJoin()

visitTreeJoin(operator, ctx): Iterable<unknown>

Defined in: lang-xquery/src/visitors/executor.ts:36

Parameters

ParameterType
operatorTreeJoin
ctxExecutionContext

Returns

Iterable<unknown>

Implementation of

XQueryPlanVisitor.visitTreeJoin


visitTupleFnSource()

visitTupleFnSource(operator, ctx): Iterable<unknown>

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

Parameters

ParameterType
operatorTupleFnSource
ctxExecutionContext

Returns

Iterable<unknown>

Implementation of

XQueryPlanVisitor.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

XQueryPlanVisitor.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

XQueryPlanVisitor.visitUnion

Inherited from

Executor.visitUnion