MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / execute_indexed_expand_with_graph

Method execute_indexed_expand_with_graph

graphlite/src/exec/executor.rs:6310–6335  ·  view source on GitHub ↗

Execute an indexed expand operation with specific graph

(
        &self,
        from_variable: &str,
        edge_variable: Option<&str>,
        to_variable: &str,
        edge_labels: &[String],
        direction: &EdgeDirection,
        properties: Opt

Source from the content-addressed store, hash-verified

6308
6309 /// Execute an indexed expand operation with specific graph
6310 fn execute_indexed_expand_with_graph(
6311 &self,
6312 from_variable: &str,
6313 edge_variable: Option<&str>,
6314 to_variable: &str,
6315 edge_labels: &[String],
6316 direction: &EdgeDirection,
6317 properties: Option<&HashMap<String, Expression>>,
6318 input_rows: Vec<Row>,
6319 context: &mut ExecutionContext,
6320 graph: &Arc<GraphCache>,
6321 ) -> Result<Vec<Row>, ExecutionError> {
6322 // For now, use the same implementation as hash expand
6323 // In a real implementation, this might use different indexing strategies
6324 self.execute_hash_expand_with_graph(
6325 from_variable,
6326 edge_variable,
6327 to_variable,
6328 edge_labels,
6329 direction,
6330 properties,
6331 input_rows,
6332 context,
6333 graph,
6334 )
6335 }
6336
6337 /// Execute path traversal with type constraints
6338 fn execute_path_traversal(

Callers 1

Calls 1

Tested by

no test coverage detected