public class CostRangePriorityDecider extends Object implements QueryPriorityDecider
Constructor and Description |
---|
CostRangePriorityDecider(CostToPriorityRangeConf costToPriorityRangeMap) |
@ConstructorProperties(value="costToPriorityRangeMap") @Generated(value="lombok") public CostRangePriorityDecider(@NonNull CostToPriorityRangeConf costToPriorityRangeMap)
public Priority decidePriority(@NonNull QueryCost cost) throws LensException
decidePriority
in interface QueryPriorityDecider
LensException
- when can't decide priority.Copyright © 2014–2015 Apache Software Foundation. All rights reserved.