throw new EPStatementException(ex.getMessage(), epl);
}
StatementSpecCompiled compiledSpec = StatementLifecycleSvcImpl.compile(spec, epl, statementContext, true, annotations, visitor.getSubselects(), Collections.<ExprDeclaredNode>emptyList(), services);
if (compiledSpec.getFireAndForgetSpec() == null) { // null indicates a select-statement, same as continuous query
return new EPPreparedExecuteMethodQuery(compiledSpec, services, statementContext);
}
else if (compiledSpec.getFireAndForgetSpec() instanceof FireAndForgetSpecDelete) {
return new EPPreparedExecuteSingleStreamDelete(compiledSpec, services, statementContext);
}
else if (compiledSpec.getFireAndForgetSpec() instanceof FireAndForgetSpecUpdate) {