CPARK 1.0
A light-weighted, distributed computing framework for C++ that offers a fast and general-purpose large data processing solution.
Loading...
Searching...
No Matches
cpark::concepts::HasDependency Concept Reference

#include <base_rdd.h>

Concept definition

template<typename T>
concept cpark::concepts::HasDependency = concepts::HasId<T> && requires(T & t) {
{ t.dependencies() } -> std::ranges::input_range;
}
Definition base_rdd.h:94
void addDependency(ExecutionContext::SplitId split_id)
Definition base_rdd.h:167
ExecutionContext::SplitId id() const noexcept
Definition base_rdd.h:181
Definition base_rdd.h:33
Definition base_rdd.h:21

Detailed Description

A concept that requires its objects have some dependency relationship between each other. A HasDependency must be HasId, with the following member functions: dependencies() returns a list of the id-s of the dependencies of the current object. addDependency() adds the id of a new dependency to the current object.