net.esper.eql.expression
Class OrderByProcessorFactory
java.lang.Object
net.esper.eql.expression.OrderByProcessorFactory
public class OrderByProcessorFactory
- extends java.lang.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(java.util.List<SelectExprElement> selectionList,
java.util.List<ExprNode> groupByNodes,
java.util.List<Pair<ExprNode,java.lang.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