Expand description
Shared query AST for GQL/SPARQL parsing and SQL compilation.
Structs§
- Condition
- A predicate in the WHERE clause:
variable.property op value. - Edge
Pattern - An edge binding with relation alternatives, direction, and inclusive hop bounds.
- GqlQuery
- A parsed query: pattern, predicates, projections, and optional row limit.
- Match
Pattern - The MATCH pattern of a GQL query, as an alternating sequence of node and edge elements.
- Node
Pattern - A node binding with optional kind, governed subtype, and property filters.
Enums§
- Compare
Op - Comparison operator used in WHERE clause conditions.
- Condition
Value - A typed condition value; integer and decimal forms remain distinct.
- Edge
Direction - Traversal direction for an edge in the MATCH pattern.
- Pattern
Element - A single element in the MATCH pattern – either a node or an edge.
- Query
Value - A backend-independent SQL parameter emitted by the compiler.
- Return
Item - A single item in the RETURN clause — either a bound variable or a property projection.
- Where
Expr - A WHERE expression tree that preserves AND/OR grouping.