net.esper.eql.core
Class OrderByProcessorFactory

java.lang.Object
  extended by net.esper.eql.core.OrderByProcessorFactory

public class OrderByProcessorFactory
extends Object

Factory for OrderByProcessor processors.


Constructor Summary
OrderByProcessorFactory()
           
 
Method Summary
static OrderByProcessor getProcessor(List<SelectExprElementCompiledSpec> selectionList, List<ExprNode> groupByNodes, List<Pair<ExprNode,Boolean>> orderByList, AggregationService aggregationService, EventAdapterService eventAdapterService)
          Returns processor for order-by clauses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderByProcessorFactory

public OrderByProcessorFactory()
Method Detail

getProcessor

public static OrderByProcessor getProcessor(List<SelectExprElementCompiledSpec> selectionList,
                                            List<ExprNode> groupByNodes,
                                            List<Pair<ExprNode,Boolean>> orderByList,
                                            AggregationService aggregationService,
                                            EventAdapterService eventAdapterService)
                                     throws ExprValidationException
Returns processor for order-by clauses.

Parameters:
selectionList - is a list of select expressions
groupByNodes - is a list of group-by expressions
orderByList - is a list of order-by expressions
aggregationService - is the service for aggregation, ie. building sums and averages per group or overall
eventAdapterService - provides event adapters
Returns:
ordering processor instance
Throws:
ExprValidationException - when validation of expressions fails