Skip to main content

Class: CypherLogicalPlanBuilder

Defined in: lang-cypher/src/visitors/builder.ts:108

Translates a Cypher AST into a logical plan tree, implementing LogicalPlanBuilder for the Cypher language.

Remarks​

Write operations (CREATE, MERGE, SET, REMOVE, DELETE) are not yet supported and will throw UnsupportedError. Graph traversal with variable-length relationship patterns is handled via plan.BidirectionalRecursion.

Implements​

Constructors​

Constructor​

new CypherLogicalPlanBuilder(db): CypherLogicalPlanBuilder

Defined in: lang-cypher/src/visitors/builder.ts:122

Parameters​

ParameterTypeDescription
dbDortDBAsFriendDatabase handle used for source resolution, function look-up, and language management.

Returns​

CypherLogicalPlanBuilder

Properties​

calcBuilders​

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

Defined in: lang-cypher/src/visitors/builder.ts:112

Language-keyed map of calculation-builder visitors used to lower intermediate plan nodes to plan.Calculations.


dataAdapter​

protected dataAdapter: CypherDataAdapter

Defined in: lang-cypher/src/visitors/builder.ts:118

Cypher graph data adapter obtained from the language registration.


db​

protected db: DortDBAsFriend

Defined in: lang-cypher/src/visitors/builder.ts:124

Database handle used for source resolution, function look-up, and language management.


eqCheckers​

protected eqCheckers: Record<string, EqualityChecker>

Defined in: lang-cypher/src/visitors/builder.ts:114

Language-keyed map of equality checkers used when constructing plan.Calculations.


langCtx​

protected langCtx: Record<string, unknown>

Defined in: lang-cypher/src/visitors/builder.ts:120

Per-query language context forwarded to nested LangSwitch builders.


stringifier​

protected stringifier: ASTDeterministicStringifier

Defined in: lang-cypher/src/visitors/builder.ts:116

Stringifier used to derive deterministic alias names for computed columns.

Methods​

addNodeSelections()​

protected addNodeSelections(res, node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:979

Adds selections for a node pattern to the given plan.

Parameters​

ParameterType
resPlanTupleOperator
nodeNodePattern
argsDescentArgs & object

Returns​

PlanTupleOperator


addRecursion()​

protected addRecursion(source, target, chain, variables, edgeI, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1119

Builds a plan.BidirectionalRecursion plan for the variable-length relationship at chain[edgeI], using source and target as the two anchor sides. Appends edge-uniqueness and (for undirected patterns) direction-consistency guards.

Parameters​

ParameterType
sourcePlanTupleOperator
targetPlanTupleOperator
chain(NodePattern | RelPattern)[]
variablesASTIdentifier[]
edgeInumber
argsDescentArgs

Returns​

PlanTupleOperator


buildLimit()​

protected buildLimit(node, res, args): Limit

Defined in: lang-cypher/src/visitors/builder.ts:1760

Wraps res in a plan.Limit operator derived from the SKIP and LIMIT expressions on node.

Parameters​

ParameterType
nodeProjectionBody
resPlanTupleOperator
argsDescentArgs

Returns​

Limit

Throws​

Error if SKIP or LIMIT is not a numeric constant literal.


buildPlan()​

buildPlan(node, ctx, langCtx): BuildPlanResult

Defined in: lang-cypher/src/visitors/builder.ts:223

LogicalPlanBuilder.buildPlan

Parameters​

ParameterType
nodeASTNode
ctxIdSet
langCtxRecord<string, unknown>

Returns​

BuildPlanResult

Implementation of​

LogicalPlanBuilder.buildPlan


checkAnyRecEdge()​

protected checkAnyRecEdge(srcNodes, tgtNodes, i): boolean

Defined in: lang-cypher/src/visitors/builder.ts:643

Returns false when the edge at index i in a variable-direction recursive path is internally inconsistent (source and target of adjacent edges do not share exactly one endpoint), otherwise true.

Parameters​

ParameterType
srcNodesunknown[]
tgtNodesunknown[]
inumber

Returns​

boolean


checkCorrectAnyEdge()​

protected checkCorrectAnyEdge(node1, edge, node2, graphName, source): Selection

Defined in: lang-cypher/src/visitors/builder.ts:738

If the plain edge direction is 'any', we need to check that the edge is connected to the start and end nodes correctly. The idea is to prevent this: (a)(a)->

Parameters​

ParameterType
node1ASTIdentifier
edgeASTIdentifier
node2ASTIdentifier
graphNameASTIdentifier
sourcePlanTupleOperator

Returns​

Selection


checkCorrectAnyRecursion()​

protected checkCorrectAnyRecursion(variables, graphName, i, source): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:668

If the recursive edge direction is 'any', we need to check that the first and last edge are connected to the start and end nodes correctly. The idea is to prevent something like this: <-(a)(a)->(b)->(c)

Parameters​

ParameterType
variablesASTIdentifier[]
graphNameASTIdentifier
inumber
sourcePlanTupleOperator

Returns​

PlanTupleOperator


createRecursionMapping()​

protected createRecursionMapping(variables, graph, edgeDir, mapping, edgeI, nodeI): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1281

Replaces the leaf plan.ItemSource in mapping with an plan.ItemFnSource that iterates the next candidate edges from a given node, forming the step function of the bidirectional recursion. For undirected edges it uses checkAnyRecEdge to pick the correct traversal direction at each step.

Parameters​

ParameterType
variablesASTIdentifier[]
graphunknown
edgeDirEdgeDirection
mappingPlanTupleOperator
edgeInumber
nodeInumber

Returns​

PlanTupleOperator


handleRecursionZeroCase()​

protected handleRecursionZeroCase(source, chain, variables, edgeI, bidiRec, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1224

Handles the special case of a variable-length relationship with a minimum length of 0.

Parameters​

ParameterType
sourcePlanTupleOperator
chain(NodePattern | RelPattern)[]
variablesASTIdentifier[]
edgeInumber
bidiRecPlanTupleOperator
argsDescentArgs

Returns​

PlanTupleOperator


isEdgeConnected()​

protected isEdgeConnected(res, dir, node, edge, graphName): Selection

Defined in: lang-cypher/src/visitors/builder.ts:767

Wraps res in a plan.Selection that asserts the given node is connected to edge in direction dir within the named graph.

Parameters​

ParameterType
resPlanTupleOperator
dirEdgeDirection
nodeASTIdentifier
edgeASTIdentifier
graphNameASTIdentifier

Returns​

Selection


joinNodesEdges()​

protected joinNodesEdges(isRef, node, variables, res, args, ctx): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:855

Joins item sources for nodes and edges in a pattern chain.

Parameters​

ParameterType
isRefboolean[]
nodePatternElChain
variablesASTIdentifier[]
resPlanTupleOperator
argsDescentArgs
ctxIdSet

Returns​

PlanTupleOperator


maybeId()​

protected maybeId(node, args): ASTNode

Defined in: lang-cypher/src/visitors/builder.ts:137

Coerces a AST.PropLookup chain into a flat ASTIdentifier when the root is an identifier not yet in scope, enabling more efficient identifier-based plan paths. Returns node unchanged otherwise.

Parameters​

ParameterType
nodeASTNode
argsDescentArgs

Returns​

ASTNode


patternToSelection()​

protected patternToSelection(src, variable, el, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:518

Wraps src in one or more plan.Selection operators that filter rows by the property constraints declared on el. Returns src unchanged when el has no props. Map-literal props produce per-key equality checks; an identifier prop uses an isMatch structural check.

Parameters​

ParameterType
srcPlanTupleOperator
variableASTIdentifier
elNodePattern | RelPattern
argsDescentArgs

Returns​

PlanTupleOperator


prepareBidiRecInput()​

protected prepareBidiRecInput(edgeSrc, nodeSrc, edgeDir, chain, variables, edgeI, nodeI, args): [PlanTupleOperator, PlanTupleOperator]

Defined in: lang-cypher/src/visitors/builder.ts:1055

create a source and its corresponding mapping for bidirectional recursion

Parameters​

ParameterType
edgeSrcPlanTupleOperator
nodeSrcPlanTupleOperator
edgeDirEdgeDirection
chain(NodePattern | RelPattern)[]
variablesASTIdentifier[]
edgeInumber
nodeInumber
argsDescentArgs

Returns​

[PlanTupleOperator, PlanTupleOperator]


preparePatternRefs()​

protected preparePatternRefs(refVars, chain, isRef, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:489

Builds the initial plan source for pattern chain elements that refer to already-bound variables: projects the referenced variables and applies property-filter selections for each. Returns args.src unchanged when refVars is empty.

Parameters​

ParameterType
refVarsASTIdentifier[]
chain(NodePattern | RelPattern)[]
isRefboolean[]
argsDescentArgs

Returns​

PlanTupleOperator


processAttr()​

protected processAttr(attr, args): Aliased<ASTIdentifier | Calculation>

Defined in: lang-cypher/src/visitors/builder.ts:193

Builds an aliased projection attribute: infers an alias from the stringified expression when none is provided, and lowers the value expression via toCalc.

Parameters​

ParameterType
attrASTNode | Aliased<ASTNode>
argsDescentArgs

Returns​

Aliased<ASTIdentifier | Calculation>


processChainPart()​

protected processChainPart(node, i, variables, args, ctx): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:836

Visits node.chain[i] with the pre-generated variable at variables[i] injected into args, returning the resulting tuple plan operator.

Parameters​

ParameterType
nodePatternElChain
inumber
variablesASTIdentifier[]
argsDescentArgs
ctxIdSet

Returns​

PlanTupleOperator


processFnArg()​

protected processFnArg(item, args): ASTIdentifier | PlanOpAsArg

Defined in: lang-cypher/src/visitors/builder.ts:179

Converts an expression node to the argument format expected by plan.FnCall: returns the ASTIdentifier directly when possible, otherwise wraps the plan operator in a { op } object.

Parameters​

ParameterType
itemASTNode
argsDescentArgs

Returns​

ASTIdentifier | PlanOpAsArg


processGroupBy()​

protected processGroupBy(res, aggrs, allCols): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1731

Builds a plan.GroupBy operator by separating allCols into aggregate outputs (supplied by aggrs) and the non-aggregate group-key columns, then wiring the pre-group source schema into each aggregate's post-group operator.

Parameters​

ParameterType
resPlanTupleOperator
aggrsAggregateCall[]
allColsAliased<ASTIdentifier | Calculation>[]

Returns​

PlanTupleOperator


processNode()​

protected processNode(node, args): ASTIdentifier | PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:215

Applies maybeId coercion then dispatches the node through this visitor, tracking any newly inferred identifiers in args.

Parameters​

ParameterType
nodeASTNode
argsDescentArgs

Returns​

ASTIdentifier | PlanOperator


processOrderBy()​

protected processOrderBy(node, res, args): OrderBy

Defined in: lang-cypher/src/visitors/builder.ts:1685

Builds the pre-sort projection, optional plan.GroupBy, and plan.OrderBy for a projection body that contains an ORDER BY clause, taking into account whether the body also changes cardinality (DISTINCT or aggregation).

Parameters​

ParameterType
nodeProjectionBody
resPlanTupleOperator
argsDescentArgs & object

Returns​

OrderBy


setupChainSelections()​

protected setupChainSelections(chain, variables, res, graphName, fromI, toI): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:568

Appends edge-connectivity plan.Selections to res for the relationship elements in chain[fromI..toI] (odd indices), skipping those that have a variable-length range (handled separately by addRecursion) and adding edge-uniqueness guards for non-recursive multi-hop patterns.

Parameters​

ParameterType
chain(NodePattern | RelPattern)[]
variablesASTIdentifier[]
resPlanTupleOperator
graphNameASTIdentifier
fromInumber
toInumber

Returns​

PlanTupleOperator


setupVarsAndRefs()​

protected setupVarsAndRefs(node, args): SetupVarsAndRefsResult

Defined in: lang-cypher/src/visitors/builder.ts:798

Classifies each element of a AST.PatternElChain as either a new variable or a reference to an already-bound one, generates fresh identifiers for unnamed elements, and builds the initial plan source that covers the referenced elements via preparePatternRefs.

Parameters​

ParameterType
nodePatternElChain
argsDescentArgs & object

Returns​

SetupVarsAndRefsResult


toCalc()​

protected toCalc(node, args): ASTIdentifier | Calculation

Defined in: lang-cypher/src/visitors/builder.ts:162

Lowers an expression node to a plan.Calculation (or a bare ASTIdentifier when no computation is needed). Aggregate calls are unwrapped to their result field name.

Parameters​

ParameterType
nodeASTNode
argsDescentArgs

Returns​

ASTIdentifier | Calculation


visitBooleanLiteral()​

visitBooleanLiteral(node): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:274

Parameters​

ParameterType
nodeASTBooleanLiteral

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitBooleanLiteral


visitCaseExpr()​

visitCaseExpr(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1448

Parameters​

ParameterType
nodeCaseExpr
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitCaseExpr


visitCountAll()​

visitCountAll(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1460

Parameters​

ParameterType
nodeCountAll
argsDescentArgs

Returns​

PlanOperator

Throws​

Always throws Error('Method not implemented.') - COUNT(*) is handled upstream by visitFnCallWrapper.

Implementation of​

CypherVisitor.visitCountAll


visitCreateClause()​

visitCreateClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1603

Parameters​

ParameterType
nodeCreateClause
argsDescentArgs

Returns​

PlanOperator

Throws​

UnsupportedError - write operations are not yet supported.

Implementation of​

CypherVisitor.visitCreateClause


visitCypherIdentifier()​

visitCypherIdentifier(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:249

Parameters​

ParameterType
nodeCypherIdentifier
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitCypherIdentifier


visitDeleteClause()​

visitDeleteClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1627

Parameters​

ParameterType
nodeDeleteClause
argsDescentArgs

Returns​

PlanOperator

Throws​

UnsupportedError - write operations are not yet supported.

Implementation of​

CypherVisitor.visitDeleteClause


visitExistsSubquery()​

visitExistsSubquery(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:381

Parameters​

ParameterType
nodeExistsSubquery
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitExistsSubquery


visitFnCallWrapper()​

visitFnCallWrapper(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:277

Parameters​

ParameterType
nodeFnCallWrapper
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitFnCallWrapper


visitFunction()​

visitFunction(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1815

Parameters​

ParameterType
nodeASTFunction
argsDescentArgs

Returns​

PlanOperator

Throws​

Always throws Error('Method not implemented.').

Implementation of​

CypherVisitor.visitFunction


visitIdentifier()​

visitIdentifier(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1840

Parameters​

ParameterType
nodeASTIdentifier
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitIdentifier


visitLabelFilterExpr()​

visitLabelFilterExpr(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1463

Parameters​

ParameterType
nodeLabelFilterExpr
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitLabelFilterExpr


visitLangSwitch()​

visitLangSwitch(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1824

Delegates plan building for the embedded sub-expression to the appropriate language's LogicalPlanBuilder, propagates any newly inferred identifiers back into args, and wraps a tuple-producing plan in a plan.MapToItem so the result is always a scalar operator.

Parameters​

ParameterType
nodeLangSwitch
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitLangSwitch


visitListComprehension()​

visitListComprehension(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1391

Parameters​

ParameterType
nodeListComprehension
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitListComprehension


visitListLiteral()​

visitListLiteral(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:261

Parameters​

ParameterType
nodeASTListLiteral
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitListLiteral


visitLiteral()​

visitLiteral<T>(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1802

Type Parameters​

Type Parameter
T

Parameters​

ParameterType
nodeASTLiteral<T>
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitLiteral


visitMapLiteral()​

visitMapLiteral(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:268

Parameters​

ParameterType
nodeASTMapLiteral
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitMapLiteral


visitMatchClause()​

visitMatchClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1539

Builds the plan for a MATCH clause or the pattern portion of an AST.ExistsSubquery, joining each pattern chain in sequence and applying the optional WHERE predicate.

Parameters​

ParameterType
nodeExistsSubquery | MatchClause
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitMatchClause


visitMergeClause()​

visitMergeClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1607

Parameters​

ParameterType
nodeMergeClause
argsDescentArgs

Returns​

PlanOperator

Throws​

UnsupportedError - write operations are not yet supported.

Implementation of​

CypherVisitor.visitMergeClause


visitNodePattern()​

visitNodePattern(node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:958

Builds a node scan: an plan.ItemSource over the graph's nodes, mapped to args.variable, with optional label and property filters. Requires args.variable to be provided by the caller.

Parameters​

ParameterType
nodeNodePattern
argsDescentArgs & object

Returns​

PlanTupleOperator

Implementation of​

CypherVisitor.visitNodePattern


visitNumberLiteral()​

visitNumberLiteral(node): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:258

Parameters​

ParameterType
nodeASTNumberLiteral

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitNumberLiteral


visitOperator()​

visitOperator(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1805

Parameters​

ParameterType
nodeASTOperator
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitOperator


visitOrderItem()​

visitOrderItem(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1780

Parameters​

ParameterType
nodeOrderItem
argsDescentArgs

Returns​

PlanOperator

Throws​

Always throws - ORDER BY items are processed directly in processOrderBy, not via the visitor.

Implementation of​

CypherVisitor.visitOrderItem


visitPatternComprehension()​

visitPatternComprehension(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1347

Parameters​

ParameterType
nodePatternComprehension
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitPatternComprehension


visitPatternElChain()​

visitPatternElChain(node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:914

Parameters​

ParameterType
nodePatternElChain
argsDescentArgs & object

Returns​

PlanTupleOperator

Implementation of​

CypherVisitor.visitPatternElChain


visitProcedure()​

protected visitProcedure(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:332

Builds a plan for a CALL procedure invocation, producing a plan.TupleFnSource with optional YIELD projection and WHERE filtering. Called by visitFnCallWrapper when node.procedure is set.

Parameters​

ParameterType
nodeFnCallWrapper
argsDescentArgs

Returns​

PlanOperator


visitProjectionBody()​

visitProjectionBody(node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1630

Parameters​

ParameterType
nodeProjectionBody
argsDescentArgs

Returns​

PlanTupleOperator

Implementation of​

CypherVisitor.visitProjectionBody


visitPropLookup()​

visitPropLookup(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1495

Parameters​

ParameterType
nodePropLookup
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitPropLookup


visitQuantifiedExpr()​

visitQuantifiedExpr(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:412

Parameters​

ParameterType
nodeQuantifiedExpr
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitQuantifiedExpr


visitQuery()​

visitQuery(node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1516

Parameters​

ParameterType
nodeQuery
argsDescentArgs

Returns​

PlanTupleOperator

Implementation of​

CypherVisitor.visitQuery


visitRelPattern()​

visitRelPattern(node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1013

Does not handle recursion

Parameters​

ParameterType
nodeRelPattern
argsDescentArgs & object

Returns​

PlanTupleOperator

Implementation of​

CypherVisitor.visitRelPattern


visitRemoveClause()​

visitRemoveClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1619

Parameters​

ParameterType
nodeRemoveClause
argsDescentArgs

Returns​

PlanOperator

Throws​

UnsupportedError - write operations are not yet supported.

Implementation of​

CypherVisitor.visitRemoveClause


visitRemoveItem()​

visitRemoveItem(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1623

Parameters​

ParameterType
nodeRemoveItem
argsDescentArgs

Returns​

PlanOperator

Throws​

Always throws Error('Method not implemented.').

Implementation of​

CypherVisitor.visitRemoveItem


visitReturnClause()​

visitReturnClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1799

Parameters​

ParameterType
nodeReturnClause
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitReturnClause


visitSetClause()​

visitSetClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1611

Parameters​

ParameterType
nodeSetClause
argsDescentArgs

Returns​

PlanOperator

Throws​

UnsupportedError - write operations are not yet supported.

Implementation of​

CypherVisitor.visitSetClause


visitSetItem()​

visitSetItem(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1615

Parameters​

ParameterType
nodeSetItem
argsDescentArgs

Returns​

PlanOperator

Throws​

Always throws Error('Method not implemented.').

Implementation of​

CypherVisitor.visitSetItem


visitSetOp()​

visitSetOp(node, args): PlanTupleOperator

Defined in: lang-cypher/src/visitors/builder.ts:1505

Parameters​

ParameterType
nodeSetOp
argsDescentArgs

Returns​

PlanTupleOperator

Implementation of​

CypherVisitor.visitSetOp


visitStringLiteral()​

visitStringLiteral(node): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:255

Parameters​

ParameterType
nodeASTStringLiteral

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitStringLiteral


visitSubscriptExpr()​

visitSubscriptExpr(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1480

Parameters​

ParameterType
nodeSubscriptExpr
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitSubscriptExpr


visitUnwindClause()​

visitUnwindClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1568

Parameters​

ParameterType
nodeUnwindClause
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitUnwindClause


visitWithClause()​

visitWithClause(node, args): PlanOperator

Defined in: lang-cypher/src/visitors/builder.ts:1783

Parameters​

ParameterType
nodeWithClause
argsDescentArgs

Returns​

PlanOperator

Implementation of​

CypherVisitor.visitWithClause