(self: Box<Self>)
| 630 | |
| 631 | impl Morsel for MockMorsel { |
| 632 | fn into_stream(self: Box<Self>) -> BoxStream<'static, Result<RecordBatch>> { |
| 633 | self.observer.push(MorselEvent::MorselStreamStarted { |
| 634 | morsel_id: self.morsel_id, |
| 635 | }); |
| 636 | Box::pin(MockMorselStream { |
| 637 | observer: self.observer.clone(), |
| 638 | morsel_id: self.morsel_id, |
| 639 | batch_ids: self.batch_ids.into(), |
| 640 | finished: false, |
| 641 | }) |
| 642 | } |
| 643 | } |
| 644 | |
| 645 | /// Stream returned by [`MockMorsel::into_stream`]. |
no test coverage detected