Expand description
Vectorized EXISTS evaluation for pattern predicates in WHERE clauses.
When a WHERE clause contains a bare pattern predicate like
(m)-[:SENT_BY]->(:Participant {name: $ename}), the parser wraps it in
Expr::Exists { from_pattern_predicate: true }. Instead of running a full
plan-and-execute cycle per row (the generic ExistsExecExpr path), this
module evaluates the pattern using batch CSR neighbor lookups — the same
approach used by PatternComprehensionExecExpr.
Returns a BooleanArray where each element indicates whether at least one
matching path exists for that row’s anchor node.
Structs§
- Pattern
Exists Exec Expr - Vectorized EXISTS expression for simple pattern predicates.
- Property
Predicate - A property equality predicate extracted from a node pattern’s property map.
Functions§
- extract_
pattern_ from_ exists_ query - Extracts the
Patternfrom a pattern-predicateQuery. - extract_
target_ property_ predicates - Extracts property predicates from target nodes in the pattern.