while (sourceIterator.hasNext())
{
EventBean candidate = sourceIterator.next();
eventsPerStream[0] = candidate;
MultiKeyUntyped groupKey = resultSetProcessor.generateGroupKey(eventsPerStream, true);
aggregationService.setCurrentAccess(groupKey, exprEvaluatorContext.getAgentInstanceIds());
Boolean pass = true;
if (resultSetProcessor.getOptionalHavingNode() != null)
{