ValueAddEventProcessor revisionProcessor, String eplExpression, String statementName, boolean isPrioritized,
ExprEvaluatorContext exprEvaluatorContext, boolean isEnableSubqueryIndexShare) throws ViewProcessingException
{
if (processors.containsKey(name))
{
throw new ViewProcessingException("A named window by name '" + name + "' has already been created");
}
NamedWindowLockPair lockPair = windowStatementLocks.get(name);
if (lockPair == null || lockPair.getLock() == null) {
throw new ViewProcessingException("A lock for named window by name '" + name + "' is not allocated");
}
NamedWindowProcessor processor = new NamedWindowProcessor(this, name, eventType, createWindowStmtHandle, statementResultService, revisionProcessor, eplExpression, statementName, isPrioritized, exprEvaluatorContext, lockPair.getLock(), isEnableSubqueryIndexShare, enableQueryPlanLog, metricReportingService);
processors.put(name, processor);