Ejemplo n.º 1
0
        private static EPStatementSPI MakeStatement(
            UpdateDispatchView dispatchChildView,
            StatementContext statementContext,
            StatementResultServiceImpl statementResultService,
            EPRuntimeSPI epRuntime)
        {
            var epStatement =
                epRuntime.ServicesContext.EpStatementFactory.Statement(new EPStatementFactoryArgs(statementContext, dispatchChildView, statementResultService));
            var info = statementContext.StatementInformationals;

            statementResultService.SetSelectClause(info.SelectClauseTypes, info.SelectClauseColumnNames, info.IsForClauseDelivery, info.GroupDeliveryEval);
            statementResultService.SetContext(epStatement, epRuntime);
            return(epStatement);
        }