{
throw new ASTWalkException("Unexpected AST tree contains zero or more then 1 child elements for root");
}
// Get expression node sub-tree from the AST nodes placed so far
EvalFactoryNode evalNode = astPatternNodeMap.values().iterator().next();
PatternLevelAnnotationFlags flags = getPatternFlags(node.getChild(0));
streamSpec = new PatternStreamSpecRaw(evalNode, ViewSpec.toArray(viewSpecs), streamName, options, flags.isSuppressSameEventMatches(), flags.isDiscardPartialsOnMatch());
astPatternNodeMap.clear();
}
else if (node.getChild(0).getType() == DATABASE_JOIN_EXPR)