Skip to content

tyneq


tyneq / IQueryNode

Interface: IQueryNode

Defined in: src/types/queryplan.ts:41

A node in the query plan tree representing one operator in a pipeline.

Remarks

Nodes form a linked list via source. The head node has source === null and represents the data source.

Properties

PropertyModifierTypeDescriptionDefined in
operatorNamereadonlystringThe operator name as registered with the registry.src/types/queryplan.ts:43
argsreadonlyreadonly unknown[]The arguments passed to the operator. Functions render as <fn> in printed output.src/types/queryplan.ts:46
sourcereadonlyNullable<QueryPlanNode>The upstream node, or null for source nodes.src/types/queryplan.ts:49
categoryreadonlyOperatorCategoryOperator category describing behaviour (`"source""streaming"
sourceKind?readonlySourceKindThe backing JavaScript collection type for source nodes. Remarks Only meaningful when category === "source". For all other categories this field is undefined. Use isSourceNode to narrow the type before reading this field.src/types/queryplan.ts:63

Methods

accept()

accept<T>(visitor): T

Defined in: src/types/queryplan.ts:70

Accepts a visitor and returns its result.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
visitorQueryPlanVisitor<T>The visitor to invoke.

Returns

T