File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use std::fmt::{Debug, Formatter};
1111
1212/// A transparent wrapper that delegates all execution to its child but returns custom metrics. This node is invisible during display.
1313/// The structure of a plan tree is closely tied to the [TaskMetricsRewriter].
14- pub struct MetricsWrapperExec {
14+ pub ( crate ) struct MetricsWrapperExec {
1515 inner : Arc < dyn ExecutionPlan > ,
1616 /// metrics for this plan node.
1717 metrics : MetricsSet ,
@@ -21,7 +21,7 @@ pub struct MetricsWrapperExec {
2121}
2222
2323impl MetricsWrapperExec {
24- pub fn new ( inner : Arc < dyn ExecutionPlan > , metrics : MetricsSet ) -> Self {
24+ pub ( crate ) fn new ( inner : Arc < dyn ExecutionPlan > , metrics : MetricsSet ) -> Self {
2525 Self {
2626 inner,
2727 metrics,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ mod network_shuffle;
66mod partition_isolator;
77
88pub use distributed:: DistributedExec ;
9- pub use metrics:: MetricsWrapperExec ;
9+ pub ( crate ) use metrics:: MetricsWrapperExec ;
1010pub use network_coalesce:: { NetworkCoalesceExec , NetworkCoalesceReady } ;
1111pub use network_shuffle:: { NetworkShuffleExec , NetworkShuffleReadyExec } ;
1212pub use partition_isolator:: PartitionIsolatorExec ;
You can’t perform that action at this time.
0 commit comments