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::ViewSplit< V > Class Template Reference

#include <base_rdd.h>

Inheritance diagram for cpark::ViewSplit< V >:
cpark::CachedSplit< ViewSplit< V >, std::ranges::iterator_t< const V > > cpark::BaseSplit< DerivedSplit >

Public Types

using Base = CachedSplit< ViewSplit< V >, std::ranges::iterator_t< const V > >
 
- Public Types inherited from cpark::CachedSplit< ViewSplit< V >, std::ranges::iterator_t< const V > >
using Base = BaseSplit< CachedSplit< ViewSplit< V >, std::ranges::iterator_t< const V > > >
 
using ValueType = std::iter_value_t< std::ranges::iterator_t< const V > >
 
using CacheType = std::vector< ValueType >
 

Public Member Functions

 ViewSplit (V view, ExecutionContext *context)
 
template<concepts::Split S>
 ViewSplit (V view, const S &prev)
 
- Public Member Functions inherited from cpark::CachedSplit< ViewSplit< V >, std::ranges::iterator_t< const V > >
 CachedSplit (ExecutionContext *context)
 
 CachedSplit (const CachedSplit< T, U > &other, bool copy_id, bool copy_dependencies)
 
- Public Member Functions inherited from cpark::BaseSplit< DerivedSplit >
 BaseSplit (ExecutionContext *context)
 
template<concepts::Split S>
 BaseSplit (const BaseSplit< S > &prev)
 
template<concepts::Split S>
BaseSplitoperator= (const BaseSplit< S > &prev)
 
template<typename T >
 BaseSplit (const BaseSplit< T > &other, bool copy_id, bool copy_dependencies)
 
auto begin () const
 
auto end () const
 
auto dependencies () const noexcept
 
void addDependency (ExecutionContext::SplitId split_id)
 
template<typename T >
void addDependency (const BaseSplit< T > &split)
 
ExecutionContext::SplitId id () const noexcept
 

Public Attributes

friend Base
 
- Public Attributes inherited from cpark::CachedSplit< ViewSplit< V >, std::ranges::iterator_t< const V > >
friend Base
 

Additional Inherited Members

- Protected Attributes inherited from cpark::BaseSplit< DerivedSplit >
ExecutionContextcontext_ {}
 
ExecutionContext::SplitId split_id_ {}
 
std::vector< ExecutionContext::SplitIddependencies_ {}
 

Detailed Description

template<std::ranges::view V>
class cpark::ViewSplit< V >

A split whose elements come from a view. It might be very useful in this project. Every split that can be computed by a pair of iterators can be represented by a ViewSplit.


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