Modifier and Type | Method and Description |
---|---|
static Priority |
Priority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
Priority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Priority |
LensQuery.getPriority()
The priority.
|
Constructor and Description |
---|
LensQuery(QueryHandle queryHandle,
String userQuery,
String submittedUser,
Priority priority,
boolean isPersistent,
String selectedDriverName,
String driverQuery,
QueryStatus status,
String resultSetPath,
String driverOpHandle,
LensConf queryConf,
long submissionTime,
long launchTime,
long driverStartTime,
long driverFinishTime,
long finishTime,
long closedTime,
String queryName) |
Modifier and Type | Method and Description |
---|---|
Priority |
HiveDriver.decidePriority(QueryContext ctx) |
Modifier and Type | Method and Description |
---|---|
Priority |
LensDriver.decidePriority(QueryContext queryContext)
decide priority based on query's cost.
|
Priority |
AbstractLensDriver.decidePriority(QueryContext queryContext) |
Modifier and Type | Method and Description |
---|---|
Priority |
QueryContext.decidePriority(LensDriver driver,
QueryPriorityDecider queryPriorityDecider) |
Priority |
QueryContext.getPriority()
The priority.
|
Constructor and Description |
---|
PriorityChange(long eventTime,
Priority prev,
Priority current,
QueryHandle handle)
Instantiates a new priority change.
|
Constructor and Description |
---|
MaxConcurrentDriverQueriesConstraint(int maxConcurrentQueries,
Map<String,Integer> maxConcurrentQueriesPerQueue,
Map<Priority,Integer> maxConcurrentQueriesPerPriority) |
Modifier and Type | Method and Description |
---|---|
Priority |
QueryPriorityDecider.decidePriority(QueryCost cost) |
Priority |
CostRangePriorityDecider.decidePriority(QueryCost cost) |
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.