diff --git a/src/rewrite/exploitation.rs b/src/rewrite/exploitation.rs index 8d43a19..0283873 100644 --- a/src/rewrite/exploitation.rs +++ b/src/rewrite/exploitation.rs @@ -86,6 +86,11 @@ impl ViewMatcher { Ok(ViewMatcher { mv_plans }) } + + /// Returns the materialized views and their corresponding normal forms. + pub fn mv_plans(&self) -> &HashMap, SpjNormalForm)> { + &self.mv_plans + } } impl OptimizerRule for ViewMatcher {