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 | List of all members
cpark::MergeRdd< R >::Iterator Class Reference
Inheritance diagram for cpark::MergeRdd< R >::Iterator:

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using value_type = utils::RddElementType< R >
 
using OriginalIterator = std::ranges::iterator_t< std::ranges::range_value_t< R > >
 
using OriginalSentinel = std::ranges::sentinel_t< std::ranges::range_value_t< R > >
 

Public Member Functions

 Iterator (std::vector< OriginalIterator > begins, std::vector< OriginalIterator > ends, bool isEnd=false)
 
value_type operator* () const
 
value_type * operator-> () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator+= (difference_type n)
 
Iteratoroperator-= (difference_type n)
 
Iterator operator+ (difference_type n) const
 
Iterator operator- (difference_type n) const
 
value_type & operator[] (difference_type n) const
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
bool operator< (const Iterator &other) const
 
bool operator> (const Iterator &other) const
 
bool operator<= (const Iterator &other) const
 
bool operator>= (const Iterator &other) const
 
difference_type operator- (const Iterator &other) const
 

Member Function Documentation

◆ operator!=()

template<concepts::Rdd R>
bool cpark::MergeRdd< R >::Iterator::operator!= ( const Iterator other) const
inline

Inequality operator.

◆ operator*()

template<concepts::Rdd R>
value_type cpark::MergeRdd< R >::Iterator::operator* ( ) const
inline

Computes the current value.

◆ operator+()

template<concepts::Rdd R>
Iterator cpark::MergeRdd< R >::Iterator::operator+ ( difference_type  n) const
inline

Addition operator.

◆ operator++() [1/2]

template<concepts::Rdd R>
Iterator & cpark::MergeRdd< R >::Iterator::operator++ ( )
inline

Increments the iterator to the next element.

◆ operator++() [2/2]

template<concepts::Rdd R>
Iterator cpark::MergeRdd< R >::Iterator::operator++ ( int  )
inline

Increments the iterator to the next element.

◆ operator+=()

template<concepts::Rdd R>
Iterator & cpark::MergeRdd< R >::Iterator::operator+= ( difference_type  n)
inline

Compound addition operator.

◆ operator-() [1/2]

template<concepts::Rdd R>
difference_type cpark::MergeRdd< R >::Iterator::operator- ( const Iterator other) const
inline

Difference operator.

◆ operator-() [2/2]

template<concepts::Rdd R>
Iterator cpark::MergeRdd< R >::Iterator::operator- ( difference_type  n) const
inline

Subtraction operator.

◆ operator-=()

template<concepts::Rdd R>
Iterator & cpark::MergeRdd< R >::Iterator::operator-= ( difference_type  n)
inline

Compound subtraction operator.

◆ operator->()

template<concepts::Rdd R>
value_type * cpark::MergeRdd< R >::Iterator::operator-> ( ) const
inline

Arrow operator.

◆ operator<()

template<concepts::Rdd R>
bool cpark::MergeRdd< R >::Iterator::operator< ( const Iterator other) const
inline

Less than operator.

◆ operator<=()

template<concepts::Rdd R>
bool cpark::MergeRdd< R >::Iterator::operator<= ( const Iterator other) const
inline

Less than or equal to operator.

◆ operator==()

template<concepts::Rdd R>
bool cpark::MergeRdd< R >::Iterator::operator== ( const Iterator other) const
inline

Equality operator.

◆ operator>()

template<concepts::Rdd R>
bool cpark::MergeRdd< R >::Iterator::operator> ( const Iterator other) const
inline

Greater than operator.

◆ operator>=()

template<concepts::Rdd R>
bool cpark::MergeRdd< R >::Iterator::operator>= ( const Iterator other) const
inline

Greater than or equal to operator.

◆ operator[]()

template<concepts::Rdd R>
value_type & cpark::MergeRdd< R >::Iterator::operator[] ( difference_type  n) const
inline

Subscript operator.


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