Class QueryCompilerEngine
java.lang.Object
org.impulsegraph.compiler.registry.QueryCompilerEngine
High-performance coordinator executing Stage 1 and Stage 2 compilation
pipelines with pass tracing and caching.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompileStage1(String queryName, String sourceQuery, ImpScmNode rawAst, CompilerOptions options) Executes Stage 1 (Snapshot-Agnostic) compilation on a raw ImpScheme AST.compileStage2(QueryObject queryObject, ImpulseGraphSnapshot snapshot, Arena arena, CompilerOptions options) Executes Stage 2 (Snapshot-Bound) compilation binding a QueryObject to a target ImpulseGraphSnapshot.
-
Constructor Details
-
QueryCompilerEngine
public QueryCompilerEngine()
-
-
Method Details
-
compilerMetrics
-
planCacheMetrics
-
compileStage1
public QueryObject compileStage1(String queryName, String sourceQuery, ImpScmNode rawAst, CompilerOptions options) Executes Stage 1 (Snapshot-Agnostic) compilation on a raw ImpScheme AST. -
compileStage2
public CompiledQuery compileStage2(QueryObject queryObject, ImpulseGraphSnapshot snapshot, Arena arena, CompilerOptions options) Executes Stage 2 (Snapshot-Bound) compilation binding a QueryObject to a target ImpulseGraphSnapshot.
-