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

Function MakeGeneratorIterator

cpp/src/arrow/util/async_generator.h:2021–2023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2019/// is finished
2020template <typename T>
2021Iterator<T> MakeGeneratorIterator(AsyncGenerator<T> source) {
2022 return Iterator<T>(GeneratorIterator<T>(std::move(source)));
2023}
2024
2025/// \brief Add readahead to an iterator using a background thread.
2026///

Callers 9

BatchesMethod · 0.85
PhysicalBatchesMethod · 0.85
BatchesMethod · 0.85
MakeGeneratorReaderFunction · 0.85
MakeDelayedGenFunction · 0.85
MakeAsyncMethod · 0.85
MakeReadaheadIteratorFunction · 0.85
TESTFunction · 0.85
IterateSynchronouslyFunction · 0.85

Calls

no outgoing calls

Tested by 5

BatchesMethod · 0.68
PhysicalBatchesMethod · 0.68
BatchesMethod · 0.68
MakeDelayedGenFunction · 0.68
TESTFunction · 0.68