net.esper.eql.core
Class ResultSetAggregateGroupedIterator

java.lang.Object
  extended by net.esper.eql.core.ResultSetAggregateGroupedIterator
All Implemented Interfaces:
Iterator<EventBean>

public class ResultSetAggregateGroupedIterator
extends Object
implements Iterator<EventBean>

Iterator for group-by with aggregation.


Constructor Summary
ResultSetAggregateGroupedIterator(Iterator<EventBean> sourceIterator, ResultSetProcessorAggregateGrouped resultSetProcessor, AggregationService aggregationService)
          Ctor.
 
Method Summary
 boolean hasNext()
           
 EventBean next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetAggregateGroupedIterator

public ResultSetAggregateGroupedIterator(Iterator<EventBean> sourceIterator,
                                         ResultSetProcessorAggregateGrouped resultSetProcessor,
                                         AggregationService aggregationService)
Ctor.

Parameters:
sourceIterator - is the parent iterator
resultSetProcessor - for constructing result rows
aggregationService - for pointing to the right aggregation row
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<EventBean>

next

public EventBean next()
Specified by:
next in interface Iterator<EventBean>

remove

public void remove()
Specified by:
remove in interface Iterator<EventBean>

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com