CPARK 1.0
A light-weighted, distributed computing framework for C++ that offers a fast and general-purpose large data processing solution.
|
#include <group_by_key_rdd.h>
Public Types | |
using | value_type = std::pair< KeyType, std::ranges::subrange< std::ranges::iterator_t< std::vector< ValueType > > > > |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
Iterator (std::ranges::subrange< std::ranges::iterator_t< std::ranges::range_value_t< R > > > original_data, bool is_end) | |
Iterator (bool is_end) | |
value_type | operator* () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
bool | operator== (const Iterator &other) const |
bool | operator!= (const Iterator &other) const |
An Iterator that will calculate and store the group-by-key results in a shared state.
|
inlineexplicit |
Creates the iterator with
original_data | A subrange representing the original key-value data to be grouped. |
is_end | Whether this iterator is an end sentinel. |
|
inlineexplicit |
Creates the iterator of empty data with
is_end | Whether this iterator is an end sentinel. |
|
inline |
Two iterators are equal iff: they are both end sentinels, or they have the same shared data and point to the same element.