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

Function MakeFunctionIterator

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

Source from the content-addressed store, hash-verified

365/// \brief Construct an Iterator which invokes a callable on Next()
366template <typename Fn, typename Ret = typename std::invoke_result_t<Fn&>::ValueType>
367Iterator<Ret> MakeFunctionIterator(Fn fn) {
368 return Iterator<Ret>(FunctionIterator<Fn, Ret>(std::move(fn)));
369}
370
371template <typename T>
372Iterator<T> MakeEmptyIterator() {

Callers 10

CallTabularFunctionFunction · 0.85
GetMethod · 0.85
RowsToBatchesFunction · 0.85
MakeEmptyIteratorFunction · 0.85
MakeErrorIteratorFunction · 0.85
MakeIteratorFromReaderFunction · 0.85
TESTFunction · 0.85
GetRecordBatchReaderMethod · 0.85
FieldValuesMethod · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68