Class CypherCompiler
java.lang.Object
org.impulsegraph.compiler.cypher.CypherCompiler
Lowers parsed Cypher AST queries into optimized ImpScheme S-Expression AST
(ScmProgram) and ImpulseVM bytecode, supporting single-lane and 64-lane
multi-seed (`IN [...]`), unbounded Kleene star (`[:REL*]`), undirected/union
hops (`-[:R1|R2]-`), quorum filtering (`0xC6`), and hybrid vector ANN/rerank
(`0xCA`/`0xCB`).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionParse openCypher text and compile into ImpScheme AST.compile(CypherParser.CypherQuery query) Lowers a structured CypherQuery to ScmProgram.static CompiledQuerycompileToExecutable(String cypherQuery, ImpulseGraphSnapshot snapshot, Arena arena) Parse openCypher text and compile directly to an executable CompiledQuery.
-
Field Details
-
MAX_UNROLLED_PATH_HOPS
public static final int MAX_UNROLLED_PATH_HOPS- See Also:
-
-
Method Details
-
compile
Parse openCypher text and compile into ImpScheme AST. -
compileToExecutable
public static CompiledQuery compileToExecutable(String cypherQuery, ImpulseGraphSnapshot snapshot, Arena arena) Parse openCypher text and compile directly to an executable CompiledQuery. -
compile
Lowers a structured CypherQuery to ScmProgram.
-