public class EPStatementStartMethodHelperUtil
{
private static final Log log = LogFactory.getLog(EPStatementStartMethodHelperUtil.class);
public static Pair<ResultSetProcessor, AggregationService> startResultSetAndAggregation(ResultSetProcessorFactoryDesc resultSetProcessorPrototype, AgentInstanceContext agentInstanceContext) {
AggregationService aggregationService = null;
if (resultSetProcessorPrototype.getAggregationServiceFactoryDesc() != null) {
aggregationService = resultSetProcessorPrototype.getAggregationServiceFactoryDesc().getAggregationServiceFactory().makeService(agentInstanceContext, agentInstanceContext.getStatementContext().getMethodResolutionService());
}
OrderByProcessor orderByProcessor = null;