Search in sources :

Example 1 with SeriesOutputv2

use of com.srotya.sidewinder.core.storage.SeriesOutputv2 in project sidewinder by srotya.

the class GrafanaOutputv2Iterator method next.

@Override
public GrafanaOutputv2 next() {
    SeriesOutputv2 entry = iterator.next();
    GrafanaOutputv2 tar = new GrafanaOutputv2(entry.toString(), entry.isFp());
    DataPointIterator iterator = entry.getIterator();
    if (iterator != null) {
        tar.setPointsIterator(iterator);
    }
    return tar;
}
Also used : DataPointIterator(com.srotya.sidewinder.core.storage.DataPointIterator) SeriesOutputv2(com.srotya.sidewinder.core.storage.SeriesOutputv2)

Aggregations

DataPointIterator (com.srotya.sidewinder.core.storage.DataPointIterator)1 SeriesOutputv2 (com.srotya.sidewinder.core.storage.SeriesOutputv2)1