org.apache.lens.server.api.priority
Interface QueryPriorityDecider
- All Known Implementing Classes:
- DurationBasedQueryPriorityDecider
public interface QueryPriorityDecider
Field Summary |
static org.apache.log4j.Logger |
LOG
The Constant LOG. |
LOG
static final org.apache.log4j.Logger LOG
- The Constant LOG.
decidePriority
Priority decidePriority(AbstractQueryContext queryContext)
throws LensException
- Parameters:
queryContext
-
- Returns:
- calculated Priority based on the explained plans for each driver
- Throws:
LensException
- when can't decide priority.
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.