Qore Mapper Module Reference 1.6.1
|
abstract base class for hash iterator mappping classes based on a mapper object and an iterator input source More...
#include <Mapper.qm.dox.h>
Public Member Methods | |
constructor (Qore::AbstractIterator iter) | |
creates the iterator from the arguments passed More... | |
bool | hasBulk () |
returns True if the iterator supports bulk mode; this method returns False (the default) | |
list< hash > | mapBulk (int size) |
performs bulk mapping; if the iterator does not support bulk mapping then it is simulated in this method More... | |
bool | next () |
Moves the current position of the iterator to the next element; returns False if there are no more elements. | |
bool | valid () |
returns True if the iterator is currently pointing at a valid element, False if not | |
Private Attributes | |
Qore::AbstractIterator | i |
input iterator; AbstractIterator::getValue() must return a hash | |
abstract base class for hash iterator mappping classes based on a mapper object and an iterator input source
Mapper::AbstractMapperIterator::constructor | ( | Qore::AbstractIterator | iter | ) |
creates the iterator from the arguments passed
iter | input iterator; AbstractIterator::getValue() must return a hash |
list< hash > Mapper::AbstractMapperIterator::mapBulk | ( | int | size | ) |
performs bulk mapping; if the iterator does not support bulk mapping then it is simulated in this method
size | the number of rows to return |