30requires std::is_same_v<utils::RddElementType<R1>, utils::RddElementType<R2>>
class UnionRdd
31 :
public BaseRdd<UnionRdd<R1, R2>> {
43 "Instance of UnionRdd does not satisfy Rdd concept.");
65 constexpr auto beginImpl()
const {
return std::ranges::begin(splits_); }
66 constexpr auto endImpl()
const {
return std::ranges::end(splits_); }
69 using SplitType1 = std::ranges::range_value_t<R1>;
70 using SplitType2 = std::ranges::range_value_t<R2>;
71 using SubrangeSplitType1 = std::ranges::subrange<std::ranges::iterator_t<SplitType1>>;
72 using SubrangeSplitType2 = std::ranges::subrange<std::ranges::iterator_t<SplitType2>>;
73 using UnionViewType = MergedTwoDiffView<SubrangeSplitType1, SubrangeSplitType2>;
74 std::vector<ViewSplit<UnionViewType>> splits_;