com.espertech.esper.epl.core
Class ResultSetRowPerGroupIterator

java.lang.Object
  extended by com.espertech.esper.epl.core.ResultSetRowPerGroupIterator
All Implemented Interfaces:
java.util.Iterator<EventBean>

public class ResultSetRowPerGroupIterator
extends java.lang.Object
implements java.util.Iterator<EventBean>

Iterator for the group-by case with a row per group.


Constructor Summary
ResultSetRowPerGroupIterator(java.util.Iterator<EventBean> sourceIterator, ResultSetProcessorRowPerGroup resultSetProcessor, AggregationService aggregationService, ExprEvaluatorContext exprEvaluatorContext)
          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

ResultSetRowPerGroupIterator

public ResultSetRowPerGroupIterator(java.util.Iterator<EventBean> sourceIterator,
                                    ResultSetProcessorRowPerGroup resultSetProcessor,
                                    AggregationService aggregationService,
                                    ExprEvaluatorContext exprEvaluatorContext)
Ctor.

Parameters:
sourceIterator - is the parent view iterator
resultSetProcessor - for providing results
aggregationService - for pointing to the right aggregation row
exprEvaluatorContext - context for expression evalauation
Method Detail

hasNext

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

next

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

remove

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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com