public ResultSetProcessorRowForAll(ResultSetProcessorRowForAllFactory prototype, SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, ExprEvaluatorContext exprEvaluatorContext) { this.Prototype = prototype; _selectExprProcessor = selectExprProcessor; _orderByProcessor = orderByProcessor; this.AggregationService = aggregationService; this.ExprEvaluatorContext = exprEvaluatorContext; if (prototype.IsOutputLast) { _outputLastHelper = new ResultSetProcessorRowForAllOutputLastHelper(this); } else if (prototype.IsOutputAll) { _outputAllHelper = new ResultSetProcessorRowForAllOutputAllHelper(this); } }
public ResultSetProcessorRowForAll( ResultSetProcessorRowForAllFactory prototype, SelectExprProcessor selectExprProcessor, OrderByProcessor orderByProcessor, AggregationService aggregationService, AgentInstanceContext agentInstanceContext) { _prototype = prototype; _selectExprProcessor = selectExprProcessor; _orderByProcessor = orderByProcessor; _aggregationService = aggregationService; _exprEvaluatorContext = agentInstanceContext; if (prototype.IsOutputLast) { _outputLastHelper = prototype.ResultSetProcessorHelperFactory.MakeRSRowForAllOutputLast(this, prototype, agentInstanceContext); } else if (prototype.IsOutputAll) { _outputAllHelper = prototype.ResultSetProcessorHelperFactory.MakeRSRowForAllOutputAll(this, prototype, agentInstanceContext); } }