(self)
| 1821 | /// If that is not possible, the original instance is returned as an error. |
| 1822 | #[allow(clippy::result_large_err)] |
| 1823 | pub fn into_nontemporal(self) -> Result<SafeMfpPlan<E>, Self> { |
| 1824 | if self.lower_bounds.is_empty() && self.upper_bounds.is_empty() { |
| 1825 | Ok(self.mfp) |
| 1826 | } else { |
| 1827 | Err(self) |
| 1828 | } |
| 1829 | } |
| 1830 | |
| 1831 | /// Returns an iterator over mutable references to all non-temporal |
| 1832 | /// scalar expressions in the plan. |