Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 public EPStatement CreatePreparedEPLStatementId(EPPreparedStatementImpl prepared, string statementName, object userobject, int statementId)
 {
     return(Create(prepared, statementName, userobject, statementId));
 }