public class OrderByProcessorFactoryImpl extends java.lang.Object implements OrderByProcessorFactory
Constructor and Description |
---|
OrderByProcessorFactoryImpl(java.util.List<OrderByItem> orderByList,
ExprNode[] groupByNodes,
boolean needsGroupByKeys,
boolean isSortUsingCollator)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<java.lang.Object> |
getComparator() |
ExprEvaluator[] |
getGroupByNodes() |
OrderByElement[] |
getOrderBy() |
OrderByProcessor |
instantiate(AggregationService aggregationService,
AgentInstanceContext agentInstanceContext) |
boolean |
isNeedsGroupByKeys() |
public OrderByProcessorFactoryImpl(java.util.List<OrderByItem> orderByList, ExprNode[] groupByNodes, boolean needsGroupByKeys, boolean isSortUsingCollator) throws ExprValidationException
orderByList
- -
the nodes that generate the keys to sort events ongroupByNodes
- -
generate the keys for determining aggregation groupsneedsGroupByKeys
- -
indicates whether this processor needs to have individual
group by keys to evaluate the sort condition successfullyisSortUsingCollator
- for string value sorting using compare or CollatorExprValidationException
- when order-by items don't divulge a typepublic OrderByProcessor instantiate(AggregationService aggregationService, AgentInstanceContext agentInstanceContext)
instantiate
in interface OrderByProcessorFactory
public OrderByElement[] getOrderBy()
public ExprEvaluator[] getGroupByNodes()
public boolean isNeedsGroupByKeys()
public java.util.Comparator<java.lang.Object> getComparator()