public EPStatement Create(EPPreparedStatement prepared, String statementName, Object userObject, String statementId) { EPPreparedStatementImpl impl = (EPPreparedStatementImpl)prepared; StatementSpecRaw statementSpec = MapSODAToRaw(impl.Model); String eplStatement = impl.Model.ToEPL(); return(_services.StatementLifecycleSvc.CreateAndStart(statementSpec, eplStatement, false, statementName, userObject, null, statementId, impl.Model)); }
public EPStatement CreatePreparedEPLStatementId(EPPreparedStatementImpl prepared, string statementName, object userobject, int statementId) { return(Create(prepared, statementName, userobject, statementId)); }