public class ResultSetProcessorRowPerGroupUnbound extends ResultSetProcessorRowPerGroup implements AggregationRowRemovedCallback
Constructor and Description |
---|
ResultSetProcessorRowPerGroupUnbound(ResultSetProcessorRowPerGroupFactory prototype,
SelectExprProcessor selectExprProcessor,
OrderByProcessor orderByProcessor,
AggregationService aggregationService,
AgentInstanceContext agentInstanceContext) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<EventBean> |
getIterator(Viewable parent)
Returns the iterator implementing the group-by and aggregation and order-by logic
specific to each case of use of these construct.
|
UniformPair<EventBean[]> |
processViewResult(EventBean[] newData,
EventBean[] oldData,
boolean isSynthesize)
For use by views posting their result, process the event rows that are entered and removed (new and old events).
|
void |
removed(java.lang.Object optionalGroupKeyPerRow) |
clear, getIterator, getOptionalHavingNode, getResultEventType, getSelectExprProcessor, hasAggregation, processJoinResult, processOutputLimitedJoin, processOutputLimitedView, setAgentInstanceContext
public ResultSetProcessorRowPerGroupUnbound(ResultSetProcessorRowPerGroupFactory prototype, SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, AgentInstanceContext agentInstanceContext)
public UniformPair<EventBean[]> processViewResult(EventBean[] newData, EventBean[] oldData, boolean isSynthesize)
ResultSetProcessor
processViewResult
in interface ResultSetProcessor
processViewResult
in class ResultSetProcessorRowPerGroup
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 setpublic java.util.Iterator<EventBean> getIterator(Viewable parent)
ResultSetProcessor
getIterator
in interface ResultSetProcessor
getIterator
in class ResultSetProcessorRowPerGroup
parent
- is the parent view iteratorpublic void removed(java.lang.Object optionalGroupKeyPerRow)
removed
in interface AggregationRowRemovedCallback
removed
in class ResultSetProcessorRowPerGroup