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

Method optimization_level_name

graphlite/src/plan/optimizer.rs:311–318  ·  view source on GitHub ↗

Get the name of the current optimization level

(&self)

Source from the content-addressed store, hash-verified

309
310 /// Get the name of the current optimization level
311 fn optimization_level_name(&self) -> String {
312 match self.optimization_level {
313 OptimizationLevel::None => "None".to_string(),
314 OptimizationLevel::Basic => "Basic".to_string(),
315 OptimizationLevel::Advanced => "Advanced".to_string(),
316 OptimizationLevel::Aggressive => "Aggressive".to_string(),
317 }
318 }
319
320 /// Plan a query with multiple alternatives for comparison
321 #[allow(dead_code)] // ROADMAP v0.3.0 - Multi-plan generation for cost-based optimization (see ROADMAP.md §5)

Callers 1

plan_query_with_traceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected