| 437 | : map_(std::move(map)), it_(std::move(it)) {} |
| 438 | |
| 439 | Result<O> Next() { |
| 440 | ARROW_ASSIGN_OR_RAISE(I i, it_.Next()); |
| 441 | |
| 442 | if (IsIterationEnd(i)) { |
| 443 | return IterationTraits<O>::End(); |
| 444 | } |
| 445 | |
| 446 | return map_(std::move(i)); |
| 447 | } |
| 448 | |
| 449 | private: |
| 450 | Fn map_; |
nothing calls this directly
no test coverage detected