19 #ifndef MAP_TUPLESET_ITER_H
20 #define MAP_TUPLESET_ITER_H
25 template <
typename KeyType,
typename ValueType,
typename OutputType>
52 output = std::make_shared<TupleSet>();
53 std::vector<Handle<OutputType>>* inputColumn =
new std::vector<Handle<OutputType>>;
54 output->addColumn(0, inputColumn,
true);
73 int limit = inputColumn.size();
78 inputColumn.push_back(temp);
81 inputColumn[i]->getKey() = (*begin).key;
82 inputColumn[i]->getValue() = (*begin).value;
84 begin = beginToRecover;
95 inputColumn.resize(i + 1);
void setChunkSize(size_t chunkSize) override
PDBMapIterator< KeyType, ValueType > begin
Handle< Map< KeyType, ValueType > > iterateOverMe
PDBMapIterator< KeyType, ValueType > end
std::shared_ptr< TupleSet > TupleSetPtr
Handle< OutObjType > unsafeCast(Handle< InObjType > &castMe)
MapTupleSetIterator(Handle< Object > iterateOverMeIn, size_t chunkSize)
TupleSetPtr getNextTupleSet() override