unmaterializedViewChain[i] = services.getViewService().createFactories(i, sourceEventStream.getEventType(), streamSpec.getViewSpecs(), streamSpec.getOptions(), statementContext);
EvalRootNode rootNode = services.getPatternNodeFactory().makeRootNode();
rootNode.addChildNode(patternStreamSpec.getEvalNode());
PatternMatchCallback callback = new PatternMatchCallback() {
public void matchFound(Map<String, Object> matchEvent)
{
EventBean compositeEvent = statementContext.getEventAdapterService().adaptorForTypedMap(matchEvent, eventType);
sourceEventStream.insert(compositeEvent);
}