Returns `self`, and leaves behind an identity operator that acts on its output.
(&mut self)
| 631 | |
| 632 | /// Returns `self`, and leaves behind an identity operator that acts on its output. |
| 633 | pub fn take(&mut self) -> Self { |
| 634 | let mut identity = Self::new(self.projection.len()); |
| 635 | std::mem::swap(self, &mut identity); |
| 636 | identity |
| 637 | } |
| 638 | |
| 639 | /// Convert the `MapFilterProject` into a staged evaluation plan. |
| 640 | /// |