public Collection evaluateGetCollScalar(EventBean[] eventsPerStream, ExprEvaluatorContext context) {
Iterator<EventBean> events;
int size;
if (randomAccessGetter != null)
{
RandomAccessByIndex randomAccess = randomAccessGetter.getAccessor();
events = randomAccess.getWindowIterator();
size = (int) randomAccess.getWindowCount();
}
else
{
EventBean evalEvent = eventsPerStream[streamNumber];
RelativeAccessByEventNIndex relativeAccess = relativeAccessGetter.getAccessor(evalEvent);