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

Method Next

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

Source from the content-addressed store, hash-verified

275 finished_() {}
276
277 Result<V> Next() {
278 while (!finished_) {
279 ARROW_ASSIGN_OR_RAISE(std::optional<V> next, Pump());
280 if (next.has_value()) {
281 return std::move(*next);
282 }
283 ARROW_ASSIGN_OR_RAISE(last_value_, it_.Next());
284 }
285 return IterationTraits<V>::End();
286 }
287
288 private:
289 // Calls the transform function on the current value. Can return in several ways

Callers

nothing calls this directly

Calls 3

EndFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50
NextMethod · 0.45

Tested by

no test coverage detected