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

Method with_morselizer

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

Configure the [`Morselizer`] used to open files. This will overwrite any setting from [`Self::with_file_opener`]

(mut self, morselizer: Box<dyn Morselizer>)

Source from the content-addressed store, hash-verified

68 ///
69 /// This will overwrite any setting from [`Self::with_file_opener`]
70 pub fn with_morselizer(mut self, morselizer: Box<dyn Morselizer>) -> Self {
71 self.morselizer = Some(morselizer);
72 self
73 }
74
75 /// Configure the metrics set used by the stream.
76 pub fn with_metrics(mut self, metrics: &'a ExecutionPlanMetricsSet) -> Self {

Callers 3

runMethod · 0.80
open_with_argsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected