Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/execution_plans/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::fmt::{Debug, Formatter};

/// A transparent wrapper that delegates all execution to its child but returns custom metrics. This node is invisible during display.
/// The structure of a plan tree is closely tied to the [TaskMetricsRewriter].
pub struct MetricsWrapperExec {
pub(crate) struct MetricsWrapperExec {
inner: Arc<dyn ExecutionPlan>,
/// metrics for this plan node.
metrics: MetricsSet,
Expand All @@ -21,7 +21,7 @@ pub struct MetricsWrapperExec {
}

impl MetricsWrapperExec {
pub fn new(inner: Arc<dyn ExecutionPlan>, metrics: MetricsSet) -> Self {
pub(crate) fn new(inner: Arc<dyn ExecutionPlan>, metrics: MetricsSet) -> Self {
Self {
inner,
metrics,
Expand Down
2 changes: 1 addition & 1 deletion src/execution_plans/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod network_shuffle;
mod partition_isolator;

pub use distributed::DistributedExec;
pub use metrics::MetricsWrapperExec;
pub(crate) use metrics::MetricsWrapperExec;
pub use network_coalesce::{NetworkCoalesceExec, NetworkCoalesceReady};
pub use network_shuffle::{NetworkShuffleExec, NetworkShuffleReadyExec};
pub use partition_isolator::PartitionIsolatorExec;