| 121 | } |
| 122 | |
| 123 | Result<std::shared_ptr<OrcScanTask>> Next() { |
| 124 | if (once_) { |
| 125 | // Iteration is done. |
| 126 | return nullptr; |
| 127 | } |
| 128 | |
| 129 | once_ = true; |
| 130 | return std::make_shared<OrcScanTask>(fragment_, options_); |
| 131 | } |
| 132 | |
| 133 | private: |
| 134 | OrcScanTaskIterator(std::shared_ptr<ScanOptions> options, |
nothing calls this directly
no outgoing calls
no test coverage detected