Trait datafusion_physical_plan::metrics::RecordOutput

source ·
pub trait RecordOutput {
    // Required method
    fn record_output(self, bm: &BaselineMetrics) -> Self;
}
Expand description

Trait for things that produce output rows as a result of execution.

Required Methods§

source

fn record_output(self, bm: &BaselineMetrics) -> Self

Record that some number of output rows have been produced

Meant to be composable so that instead of returning batch the operator can return batch.record_output(baseline_metrics)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RecordOutput for &RecordBatch

source§

fn record_output(self, bm: &BaselineMetrics) -> Self

source§

impl RecordOutput for Option<&RecordBatch>

source§

fn record_output(self, bm: &BaselineMetrics) -> Self

source§

impl RecordOutput for Option<RecordBatch>

source§

fn record_output(self, bm: &BaselineMetrics) -> Self

source§

impl RecordOutput for usize

source§

fn record_output(self, bm: &BaselineMetrics) -> Self

source§

impl RecordOutput for RecordBatch

source§

fn record_output(self, bm: &BaselineMetrics) -> Self

source§

impl RecordOutput for Result<RecordBatch>

source§

fn record_output(self, bm: &BaselineMetrics) -> Self

Implementors§