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
Public Types | Public Member Functions | Public Attributes | List of all members
cpark::TransformedRdd< R, Func, T > Class Template Reference

#include <transformed_rdd.h>

Inheritance diagram for cpark::TransformedRdd< R, Func, T >:

Public Types

using Base = BaseRdd< TransformedRdd< R, Func, T > >
 

Public Member Functions

constexpr TransformedRdd (const R &prev, Func func)
 
constexpr TransformedRdd (const TransformedRdd &)=default
 
TransformedRddoperator= (const TransformedRdd &)=default
 

Public Attributes

friend Base
 

Detailed Description

template<concepts::Rdd R, typename Func, typename T = std::invoke_result_t<Func, utils::RddElementType<R>>>
requires std::invocable<Func, utils::RddElementType<R>>&& std::convertible_to< std::invoke_result_t<Func, utils::RddElementType<R>>, T>
class cpark::TransformedRdd< R, Func, T >

An Rdd holding the data transformed from an old rdd by some function.

Template Parameters
RType of the old Rdd.
FuncType of the transformation function.
TType of the data hold in this Rdd. The type of the old Rdd R's elements should be able to invoke function Func, and the result type should be able to convert to type T.
Examples
simple.cpp.

The documentation for this class was generated from the following file: