}
public EPStatement createEPLStatementId(String eplStatement, String statementName, Object userObject, String statementId) throws EPException
{
SelectClauseStreamSelectorEnum defaultStreamSelector = SelectClauseStreamSelectorEnum.mapFromSODA(unisolatedServices.getConfigSnapshot().getEngineDefaults().getStreamSelection().getDefaultStreamSelector());
StatementSpecRaw statementSpec = EPAdministratorHelper.compileEPL(eplStatement, eplStatement, true, statementName, unisolatedServices, defaultStreamSelector);
EPStatement statement = unisolatedServices.getStatementLifecycleSvc().createAndStart(statementSpec, eplStatement, false, statementName, userObject, services, statementId, null);
EPStatementSPI stmtSpi = (EPStatementSPI) statement;
stmtSpi.getStatementContext().setInternalEventEngineRouteDest(isolatedRuntime);
stmtSpi.setServiceIsolated(isolatedServiceName);
statementNames.add(stmtSpi.getName());