Class PlotServlet.CFResultIterator

  • All Implemented Interfaces:
    AutoCloseable, Iterator<SqlResult>, QueryResult, ResultIterator<SqlResult>, SqlResultIterator
    Enclosing class:
    PlotServlet

    private static class PlotServlet.CFResultIterator
    extends Object
    implements SqlResultIterator
    Special implementation of a SqlResultIterator that combines the result from the parent and child into one virtual iterator. The parent iterator must select the following columns in this order: postion, parent M, parent A. The child iterator must selected the following columns in this order: position, child M.

    The we map our own columns like this: a --> parent A, m --> parent M, cf --> parent M - child M