Struct datafusion::physical_plan::metrics::ExecutionPlanMetricsSet
source · pub struct ExecutionPlanMetricsSet { /* private fields */ }Expand description
A set of Metrics for an individual “operator” (e.g. &dyn ExecutionPlan).
This structure is intended as a convenience for ExecutionPlan
implementations so they can generate different streams for multiple
partitions but easily report them together.
Each clone() of this structure will add metrics to the same
underlying metrics set
Implementations§
source§impl ExecutionPlanMetricsSet
impl ExecutionPlanMetricsSet
sourcepub fn register(&self, metric: Arc<Metric>)
pub fn register(&self, metric: Arc<Metric>)
Add the specified metric to the underlying metric set
sourcepub fn clone_inner(&self) -> MetricsSet
pub fn clone_inner(&self) -> MetricsSet
Return a clone of the inner MetricsSet
Trait Implementations§
source§impl Clone for ExecutionPlanMetricsSet
impl Clone for ExecutionPlanMetricsSet
source§fn clone(&self) -> ExecutionPlanMetricsSet
fn clone(&self) -> ExecutionPlanMetricsSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ExecutionPlanMetricsSet
impl Debug for ExecutionPlanMetricsSet
source§impl Default for ExecutionPlanMetricsSet
impl Default for ExecutionPlanMetricsSet
source§fn default() -> ExecutionPlanMetricsSet
fn default() -> ExecutionPlanMetricsSet
Returns the “default value” for a type. Read more