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

Method data_source

datafusion/datasource/src/source.rs:559–561  ·  view source on GitHub ↗

Return the source object

(&self)

Source from the content-addressed store, hash-verified

557
558 /// Return the source object
559 pub fn data_source(&self) -> &Arc<dyn DataSource> {
560 &self.data_source
561 }
562
563 pub fn with_data_source(mut self, data_source: Arc<dyn DataSource>) -> Self {
564 self.cache = Arc::new(Self::compute_properties(&data_source));

Calls

no outgoing calls