MCPcopy Create free account
hub / github.com/bloomberg/quantum / mapReduceBatch

Method mapReduceBatch

quantum/impl/quantum_context_impl.h:578–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576 class INPUT_IT,
577 class>
578auto
579ICoroContext<RET>::mapReduceBatch(INPUT_IT first,
580 INPUT_IT last,
581 MAPPER_FUNC mapper,
582 REDUCER_FUNC reducer)->
583 CoroContextPtr<std::map<decltype(mappedKeyOf(mapper)), decltype(reducedTypeOf(reducer))>>
584{
585 using Key = decltype(mappedKeyOf(mapper));
586 using MappedType = decltype(mappedTypeOf(mapper));
587 using ReducedType = decltype(reducedTypeOf(reducer));
588 return static_cast<Impl*>(this)->template mapReduceBatch<Key, MappedType, ReducedType>
589 (first, last, std::move(mapper), std::move(reducer));
590}
591
592template <class RET>
593template <class KEY,

Callers 1

TEST_PFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_PFunction · 0.36