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

Method with_shared_work_source

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

Configure the [`SharedWorkSource`] for sibling work stealing.

(
        mut self,
        shared_work_source: Option<SharedWorkSource>,
    )

Source from the content-addressed store, hash-verified

86
87 /// Configure the [`SharedWorkSource`] for sibling work stealing.
88 pub(crate) fn with_shared_work_source(
89 mut self,
90 shared_work_source: Option<SharedWorkSource>,
91 ) -> Self {
92 self.shared_work_source = shared_work_source;
93 self
94 }
95
96 /// Build the configured [`FileStream`].
97 pub fn build(self) -> Result<FileStream> {

Callers 3

runMethod · 0.80
open_with_argsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected