String stmtName = UuidGenerator.generate();
String stmtId = UuidGenerator.generate();
try
{
StatementSpecRaw spec = EPAdministratorHelper.compileEPL(epl, epl, true, stmtName, services, SelectClauseStreamSelectorEnum.ISTREAM_ONLY);
Annotation[] annotations = AnnotationUtil.compileAnnotations(spec.getAnnotations(), services.getEngineImportService(), epl);
StatementContext statementContext = services.getStatementContextFactory().makeContext(stmtId, stmtName, epl, false, services, null, null, null, true, annotations, null, null, null);
StatementSpecCompiled compiledSpec = StatementLifecycleSvcImpl.compile(spec, epl, statementContext, true, annotations);
return new EPPreparedExecuteMethod(compiledSpec, services, statementContext);
}
catch (EPStatementException ex)