{
eventBeanReader = ((EventTypeSPI) outputEventType).getReader();
}
if (eventBeanReader == null)
{
eventBeanReader = new EventBeanReaderDefaultImpl(outputEventType);
}
}
OnTriggerWindowDesc windowDesc = (OnTriggerWindowDesc) onTriggerDesc;
return new NamedWindowOnSelectViewFactory(namedWindowEventType, internalEventRouter, addToFront,
statementContext.getEpStatementHandle(), eventBeanReader, isDistinct, outputEventType, statementContext.getStatementResultService(), statementContext.getInternalEventEngineRouteDest(), windowDesc.isDeleteAndSelect());