Thrill
0.1
|
Definition at line 48 of file group_by_iterator.hpp.
#include <group_by_iterator.hpp>
Public Types | |
using | Key = typename common::FunctionTraits< KeyExtractor >::result_type |
using | Reader = typename data::File::Reader |
using | ValueIn = ValueType |
Public Member Functions | |
GroupByIterator (Reader &reader, const KeyExtractor &key_extractor) | |
GroupByIterator (const GroupByIterator &)=delete | |
non-copyable: delete copy-constructor More... | |
GroupByIterator (GroupByIterator &&)=default | |
move-constructor: default More... | |
bool | HasNext () |
ValueIn | Next () |
GroupByIterator & | operator= (const GroupByIterator &)=delete |
non-copyable: delete assignment operator More... | |
GroupByIterator & | operator= (GroupByIterator &&)=default |
move-assignment operator: default More... | |
Static Public Attributes | |
static constexpr bool | debug = false |
Private Member Functions | |
void | GetNextElem () |
const Key & | GetNextKey () |
bool | HasNextForReal () |
Private Attributes | |
ValueIn | elem_ |
bool | equal_key_ |
bool | is_reader_empty_ |
Key | key_ |
const KeyExtractor & | key_extractor_ |
Reader & | reader_ |
using Key = typename common::FunctionTraits<KeyExtractor>::result_type |
Definition at line 65 of file group_by_iterator.hpp.
using Reader = typename data::File::Reader |
Definition at line 66 of file group_by_iterator.hpp.
using ValueIn = ValueType |
Definition at line 64 of file group_by_iterator.hpp.
|
inline |
Definition at line 68 of file group_by_iterator.hpp.
References GroupByIterator< ValueType, KeyExtractor, Comparator >::operator=().
|
delete |
non-copyable: delete copy-constructor
|
default |
move-constructor: default
|
inlineprivate |
Definition at line 114 of file group_by_iterator.hpp.
References GroupByIterator< ValueType, KeyExtractor, Comparator >::key_extractor_.
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::Next(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::Next().
|
inlineprivate |
Definition at line 101 of file group_by_iterator.hpp.
References GroupByIterator< ValueType, KeyExtractor, Comparator >::equal_key_, and GroupByIterator< ValueType, KeyExtractor, Comparator >::key_.
|
inline |
Definition at line 85 of file group_by_iterator.hpp.
References GroupByIterator< ValueType, KeyExtractor, Comparator >::equal_key_, and GroupByIterator< ValueType, KeyExtractor, Comparator >::is_reader_empty_.
|
inlineprivate |
Definition at line 97 of file group_by_iterator.hpp.
References GroupByIterator< ValueType, KeyExtractor, Comparator >::is_reader_empty_.
|
inline |
|
delete |
non-copyable: delete assignment operator
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::GroupByIterator(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::GroupByMultiwayMergeIterator().
|
default |
move-assignment operator: default
|
static |
Definition at line 63 of file group_by_iterator.hpp.
|
private |
Definition at line 111 of file group_by_iterator.hpp.
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::Next(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::Next().
|
private |
Definition at line 110 of file group_by_iterator.hpp.
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::GetNextKey(), GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::GetNextKey(), GroupByIterator< ValueType, KeyExtractor, Comparator >::HasNext(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::HasNext().
|
private |
Definition at line 109 of file group_by_iterator.hpp.
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::HasNext(), GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::HasNext(), GroupByIterator< ValueType, KeyExtractor, Comparator >::HasNextForReal(), GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::HasNextForReal(), GroupByIterator< ValueType, KeyExtractor, Comparator >::Next(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::Next().
|
private |
Definition at line 112 of file group_by_iterator.hpp.
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::GetNextKey(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::GetNextKey().
|
private |
Definition at line 108 of file group_by_iterator.hpp.
Referenced by GroupByIterator< ValueType, KeyExtractor, Comparator >::GetNextElem(), and GroupByMultiwayMergeIterator< ValueType, KeyExtractor, Comparator >::GetNextElem().
|
private |
Definition at line 107 of file group_by_iterator.hpp.