interface MAGES::Analytics::IQueryIterator

Overview

The base class for all query iterators. More…

interface IQueryIterator
{
    // methods

    List Iterate(
        Dictionary database,
        Func manipulator
    );
};

// direct descendants

class EventIterator;
class ListIterator;

Detailed Documentation

The base class for all query iterators.

Methods

List Iterate(
    Dictionary database,
    Func manipulator
)

Defines how to iterate over the given data and applies to them the provided manipulator function.

Parameters:

database

The data to iterate.

manipulator

Function that filters the data on each iteration.

Returns:

A list with filtered data.