(plan: Arc<dyn ExecutionPlan>)
| 81 | |
| 82 | impl<T: Default> PlanContext<T> { |
| 83 | pub fn new_default(plan: Arc<dyn ExecutionPlan>) -> Self { |
| 84 | let children = plan |
| 85 | .children() |
| 86 | .into_iter() |
| 87 | .cloned() |
| 88 | .map(Self::new_default) |
| 89 | .collect(); |
| 90 | Self::new(plan, Default::default(), children) |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | impl<T: Display> Display for PlanContext<T> { |