com.espertech.esper.epl.core
Class ResultSetProcessorRowPerGroupRollupUnbound
java.lang.Object
com.espertech.esper.epl.core.ResultSetProcessorRowPerGroupRollup
com.espertech.esper.epl.core.ResultSetProcessorRowPerGroupRollupUnbound
- All Implemented Interfaces:
- AggregationRowRemovedCallback, ResultSetProcessor, StopCallback
public class ResultSetProcessorRowPerGroupRollupUnbound
- extends ResultSetProcessorRowPerGroupRollup
Methods inherited from class com.espertech.esper.epl.core.ResultSetProcessorRowPerGroupRollup |
applyJoinResult, clear, continueOutputLimitedLastAllNonBufferedJoin, continueOutputLimitedLastAllNonBufferedView, generateGroupKey, generateGroupKeysView, generateOutputBatched, generateOutputBatchedMapUnsorted, generateOutputEventsView, getAggregationService, getIterator, getResultEventType, hasAggregation, processJoinResult, processOutputLimitedJoin, processOutputLimitedLastAllNonBufferedJoin, processOutputLimitedLastAllNonBufferedView, processOutputLimitedView, removed, setAgentInstanceContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultSetProcessorRowPerGroupRollupUnbound
public ResultSetProcessorRowPerGroupRollupUnbound(ResultSetProcessorRowPerGroupRollupFactory prototype,
OrderByProcessor orderByProcessor,
AggregationService aggregationService,
AgentInstanceContext agentInstanceContext)
stop
public void stop()
- Description copied from interface:
StopCallback
- Stops the underlying resources.
- Specified by:
stop
in interface StopCallback
- Overrides:
stop
in class ResultSetProcessorRowPerGroupRollup
applyViewResult
public void applyViewResult(EventBean[] newData,
EventBean[] oldData)
- Specified by:
applyViewResult
in interface ResultSetProcessor
- Overrides:
applyViewResult
in class ResultSetProcessorRowPerGroupRollup
processViewResult
public UniformPair<EventBean[]> processViewResult(EventBean[] newData,
EventBean[] oldData,
boolean isSynthesize)
- Description copied from interface:
ResultSetProcessor
- For use by views posting their result, process the event rows that are entered and removed (new and old events).
Processes according to select-clauses, group-by clauses and having-clauses and returns new events and
old events as specified.
- Specified by:
processViewResult
in interface ResultSetProcessor
- Overrides:
processViewResult
in class ResultSetProcessorRowPerGroupRollup
- Parameters:
newData
- - new events posted by viewoldData
- - old events posted by viewisSynthesize
- - set to true to indicate that synthetic events are required for an iterator result set
- Returns:
- pair of new events and old events
getIterator
public java.util.Iterator<EventBean> getIterator(Viewable parent)
- Description copied from interface:
ResultSetProcessor
- Returns the iterator implementing the group-by and aggregation and order-by logic
specific to each case of use of these construct.
- Specified by:
getIterator
in interface ResultSetProcessor
- Overrides:
getIterator
in class ResultSetProcessorRowPerGroupRollup
- Parameters:
parent
- is the parent view iterator
- Returns:
- event iterator