(mut self, data_source: Arc<dyn DataSource>)
| 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)); |
| 565 | self.data_source = data_source; |
| 566 | self.execution_state = Arc::new(OnceLock::new()); |
| 567 | self |
| 568 | } |
| 569 | |
| 570 | /// Assign constraints |
| 571 | pub fn with_constraints(mut self, constraints: Constraints) -> Self { |
no test coverage detected