33 :
public BaseRdd<TransformedRdd<R, Func, T>> {
40 "Instance of TransformedRdd does not satisfy Rdd concept.");
56 constexpr auto beginImpl()
const {
return std::ranges::begin(splits_); }
58 constexpr auto endImpl()
const {
return std::ranges::end(splits_); }
61 using TransformedViewype =
62 decltype(std::declval<R>().front() | std::views::transform(std::declval<Func>()));
64 std::vector<ViewSplit<TransformedViewype>> splits_{};
75 template <concepts::Rdd R,
typename T = utils::RddElementType<R>,
76 typename U = std::invoke_result_t<Func, T>>
77 requires std::invocable<Func, T>&& std::convertible_to<std::invoke_result_t<Func, T>,
U>
auto
78 operator()(
const R&
r)
const {