Expand description
Abstract Syntax Tree for Cypher queries
This module defines the AST nodes for representing parsed Cypher queries. The AST is designed to capture the essential graph patterns while being simple enough to translate to SQL efficiently.
Structs§
- Cypher
Query - A complete Cypher query
- Length
Range - Length range for variable-length paths
- Match
Clause - A MATCH clause containing graph patterns
- Node
Pattern - A node pattern in a graph query
- Order
ByClause - ORDER BY clause
- Order
ByItem - An item in the ORDER BY clause
- Path
Pattern - A path pattern connecting nodes through relationships
- Path
Segment - A segment of a path (relationship + end node)
- Property
Ref - Reference to a property of a node or relationship
- Relationship
Pattern - A relationship pattern
- Return
Clause - RETURN clause specifying what to return
- Return
Item - An item in the RETURN clause
- Where
Clause - WHERE clause for filtering
Enums§
- Arithmetic
Operator - Arithmetic operators
- Boolean
Expression - Boolean expressions in WHERE clauses
- Comparison
Operator - Comparison operators
- Graph
Pattern - A graph pattern (nodes and relationships)
- Property
Value - Property value in patterns and expressions
- Relationship
Direction - Direction of a relationship
- Sort
Direction - Sort direction for ORDER BY
- Value
Expression - Value expressions (for comparisons and return values)