MCPcopy Create free account
hub / github.com/apache/datafusion / with_metrics

Method with_metrics

datafusion/datasource/src/file_stream/builder.rs:76–79  ·  view source on GitHub ↗

Configure the metrics set used by the stream.

(mut self, metrics: &'a ExecutionPlanMetricsSet)

Source from the content-addressed store, hash-verified

74
75 /// Configure the metrics set used by the stream.
76 pub fn with_metrics(mut self, metrics: &'a ExecutionPlanMetricsSet) -> Self {
77 self.metrics = Some(metrics);
78 self
79 }
80
81 /// Configure the behavior when opening or scanning a file fails.
82 pub fn with_on_error(mut self, on_error: OnError) -> Self {

Callers 7

newMethod · 0.45
resultMethod · 0.45
runMethod · 0.45
open_with_argsMethod · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by 1