Skip to main content

Module executor

Module executor 

Source
Expand description

Read-only Cypher executor: walks a CypherQuery AST and lowers it onto graph operators against a GraphStore.

Semantics follow Apache AGE 1.6.0 (verified against a live container): agtype total ordering for ORDER BY and comparisons, three-valued boolean logic with strict boolean inputs, C-style integer division / modulo (n % 0 returns n, matching AGE), float ^ power, end-exclusive list slices, end-inclusive range(), byte-length size() on strings, unanchored =~, and graph entities that render as ::vertex / ::edge / ::path.

Supported clauses: MATCH (node, 1-hop rel, variable-length rel, path variables), OPTIONAL MATCH, WHERE, RETURN (with DISTINCT, ORDER BY, SKIP, LIMIT), and WITH. Mutation clauses live in crate::cypher::writer::CypherWriter.

Structs§

CypherExecutor
Read-only execution context.

Enums§

Binding
One row in the binding table threaded through the clause pipeline. Variables can resolve to vertex / edge / arbitrary value bindings.
CypherError

Type Aliases§

BindingRow
A row in the binding table: variable name -> bound value.
ResultRow
Result row produced by RETURN / WITH (column name -> value).