}
EsperEPL2GrammarParser.PatternInclusionExpressionContext pctx = (EsperEPL2GrammarParser.PatternInclusionExpressionContext) ctx.getChild(0);
// Get expression node sub-tree from the AST nodes placed so far
EvalFactoryNode evalNode = astPatternNodeMap.values().iterator().next();
PatternLevelAnnotationFlags flags = getPatternFlags(pctx.annotationEnum());
streamSpec = new PatternStreamSpecRaw(evalNode, ViewSpec.toArray(viewSpecs), streamName, options, flags.isSuppressSameEventMatches(), flags.isDiscardPartialsOnMatch());
astPatternNodeMap.clear();
}
else if (ctx.databaseJoinExpression() != null) {
EsperEPL2GrammarParser.DatabaseJoinExpressionContext dbctx = ctx.databaseJoinExpression();
String dbName = dbctx.i.getText();