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 of the query.
|
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,
List<FailedAttempt> failedAttempts) |
Modifier and Type | Method and Description |
---|---|
Priority |
ProxyLensQuery.getPriority() |
Modifier and Type | Method and Description |
---|---|
Priority |
HiveDriver.decidePriority(AbstractQueryContext ctx) |
Modifier and Type | Method and Description |
---|---|
Priority |
LensDriver.decidePriority(AbstractQueryContext queryContext)
decide priority based on query's cost.
|
Priority |
AbstractLensDriver.decidePriority(AbstractQueryContext queryContext) |
Modifier and Type | Method and Description |
---|---|
Priority |
AbstractQueryContext.getPriority()
The priority.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractQueryContext.setPriority(Priority priority)
The priority.
|
Constructor and Description |
---|
MaxConcurrentDriverQueriesConstraint(int maxConcurrentQueries,
Map<String,Integer> maxConcurrentQueriesPerQueue,
Map<Priority,Integer> maxConcurrentQueriesPerPriority,
Integer defaultMaxConcurrentQueriesPerQueueLimit,
int maxConcurrentLaunches) |
Constructor and Description |
---|
PriorityChange(long eventTime,
Priority prev,
Priority current,
QueryHandle handle)
Instantiates a new priority change.
|
Modifier and Type | Method and Description |
---|---|
Priority |
QueryPriorityDecider.decidePriority(QueryCost cost) |
Priority |
CostRangePriorityDecider.decidePriority(QueryCost cost) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.