Expand description
Expression evaluation helper functions.
This module extracts high-complexity expression evaluation logic from the main executor to reduce cognitive complexity and improve maintainability.
Functionsยง
- cypher_
eq - Deep equality comparison with Cypher-compliant numeric coercion and 3-valued logic. Returns Some(bool) for True/False, and None for Null/Unknown.
- eval_
binary_ op - Evaluate a binary operation on two already-evaluated values.
- eval_
in_ op - Evaluate IN operator.
- eval_
scalar_ function - Evaluate a built-in scalar function.
- eval_
vector_ distance - Evaluate vector distance between two vectors.
- eval_
vector_ similarity - Evaluate vector similarity between two vectors (cosine similarity).
- is_
scalar_ function - Check if a function name is a known scalar function (not aggregate).