Iterator
Table of Contents
Classes
- BufferedIterator
- Creates an iterator from another iterator that will keep the results of the inner
iterator in memory, so that results don't have to be re-calculated.
- ExtractIterator
- Creates an iterator from another iterator that extract the requested column
or property based on a path
- FilterIterator
- Creates a filtered iterator from another iterator. The filtering is done by
passing a callback function to each of the elements and taking them out if
it does not return true.
- InsertIterator
- This iterator will insert values into a property of each of the records returned.
- MapReduce
- Implements a simplistic version of the popular Map-Reduce algorithm. Acts
like an iterator for the original passed data after each result has been
processed, thus offering a transparent wrapper for results coming from any
source.
- NestIterator
- A type of collection that is aware of nested items and exposes methods to
check or retrieve them
- NoChildrenIterator
- An iterator that can be used as an argument for other iterators that require
a RecursiveIterator but do not want children. This iterator will
always behave as having no nested items.
- ReplaceIterator
- Creates an iterator from another iterator that will modify each of the values
by converting them using a callback function.
- SortIterator
- An iterator that will return the passed items in order. The order is given by
the value returned in a callback function that maps each of the elements.
- TreeIterator
- A Recursive iterator used to flatten nested structures and also exposes
all Collection methods
- TreePrinter
- Iterator for flattening elements in a tree structure while adding some
visual markers for their relative position in the tree
- ZipIterator
- Creates an iterator that returns elements grouped in pairs