Create metadata with optimization info
(optimization: String)
| 1059 | |
| 1060 | /// Create metadata with optimization info |
| 1061 | pub fn with_optimization(optimization: String) -> Self { |
| 1062 | Self { |
| 1063 | optimization_applied: Some(optimization), |
| 1064 | rule_name: None, |
| 1065 | variables_in_scope: Vec::new(), |
| 1066 | estimated_rows: None, |
| 1067 | estimated_cost: None, |
| 1068 | } |
| 1069 | } |
| 1070 | |
| 1071 | /// Create metadata with cost estimates |
| 1072 | pub fn with_estimates(rows: usize, cost: f64) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected