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

Method with_estimates

graphlite/src/plan/trace.rs:1072–1080  ·  view source on GitHub ↗

Create metadata with cost estimates

(rows: usize, cost: f64)

Source from the content-addressed store, hash-verified

1070
1071 /// Create metadata with cost estimates
1072 pub fn with_estimates(rows: usize, cost: f64) -> Self {
1073 Self {
1074 optimization_applied: None,
1075 rule_name: None,
1076 variables_in_scope: Vec::new(),
1077 estimated_rows: Some(rows),
1078 estimated_cost: Some(cost),
1079 }
1080 }
1081}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected