net.esper.eql.expression
Class OrderByProcessorFactory
java.lang.Object
net.esper.eql.expression.OrderByProcessorFactory
public class OrderByProcessorFactory
- extends Object
Factory for OrderByProcessor
processors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderByProcessorFactory
public OrderByProcessorFactory()
getProcessor
public static OrderByProcessor getProcessor(List<SelectExprElement> 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 expressionsgroupByNodes
- is a list of group-by expressionsorderByList
- is a list of order-by expressionsaggregationService
- is the service for aggregation, ie. building sums and averages per group or overalleventAdapterService
- provides event adapters
- Returns:
- ordering processor instance
- Throws:
ExprValidationException
- when validation of expressions fails