MCPcopy Create free account
hub / github.com/apache/arrow / Next

Method Next

cpp/src/arrow/util/iterator.h:439–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 2

IsIterationEndFunction · 0.85
EndFunction · 0.70

Tested by

no test coverage detected