Modifier and Type | Method and Description |
---|---|
QueryCost |
FactPartitionBasedQueryCostCalculator.calculateCost(AbstractQueryContext queryContext,
LensDriver driver) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
RewriterPlan.getCost() |
Modifier and Type | Method and Description |
---|---|
QueryCost |
ESDriver.estimate(AbstractQueryContext qctx) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
HiveDriver.estimate(AbstractQueryContext qctx) |
QueryCost |
HiveQueryPlan.getCost() |
Constructor and Description |
---|
HiveQueryPlan(List<String> explainOutput,
QueryPrepareHandle prepared,
org.apache.hadoop.hive.conf.HiveConf metastoreConf,
QueryCost cost)
Instantiates a new hive query plan.
|
Modifier and Type | Method and Description |
---|---|
QueryCost |
JDBCDriver.estimate(AbstractQueryContext qctx) |
Modifier and Type | Field and Description |
---|---|
static Class<? extends Parser<? extends QueryCost>> |
LensConfConstants.DEFAULT_QUERY_COST_PARSER |
Modifier and Type | Method and Description |
---|---|
QueryCost |
LensDriver.estimate(AbstractQueryContext qctx)
Estimate the cost of execution for given query.
|
abstract QueryCost |
DriverQueryPlan.getCost()
Get the cost associated with the plan
|
Modifier and Type | Class and Description |
---|---|
class |
QueryCostBasedQueryHook<T extends QueryCost<T>>
This hook allows for a driver to discard queries based on the cost of the query.
|
Modifier and Type | Method and Description |
---|---|
QueryCost |
QueryExecutionService.estimate(String requestId,
LensSessionHandle sessionHandle,
String query,
LensConf conf)
Estimate the cost of given query.
|
QueryCost |
DriverSelectorQueryContext.DriverQueryContext.getDriverCost()
Driver's query cost
|
QueryCost |
DriverSelectorQueryContext.getDriverQueryCost(LensDriver driver) |
QueryCost |
AbstractQueryContext.getDriverQueryCost(LensDriver driver)
Get query cost for the driver
|
QueryCost |
AbstractQueryContext.getSelectedDriverQueryCost()
The selected Driver query cost
|
Modifier and Type | Method and Description |
---|---|
void |
DriverSelectorQueryContext.setDriverCost(LensDriver driver,
QueryCost cost) |
void |
AbstractQueryContext.setDriverCost(LensDriver driver,
QueryCost cost) |
void |
DriverSelectorQueryContext.DriverQueryContext.setDriverCost(QueryCost driverCost)
Driver's query cost
|
void |
AbstractQueryContext.setSelectedDriverQueryCost(QueryCost selectedDriverQueryCost)
The selected Driver query cost
|
Modifier and Type | Method and Description |
---|---|
QueryCost |
EstimatedImmutableQueryCollection.getTotalQueryCost(String user)
Get total query cost of all queries of given user
|
Modifier and Type | Interface and Description |
---|---|
interface |
QueryCost<T extends QueryCost>
QueryCost Interface.
|
Modifier and Type | Class and Description |
---|---|
class |
FactPartitionBasedQueryCost |
Modifier and Type | Method and Description |
---|---|
QueryCost |
QueryCostCalculator.calculateCost(AbstractQueryContext queryContext,
LensDriver driver) |
Constructor and Description |
---|
QueryCostTOBuilder(QueryCost cost) |
Modifier and Type | Method and Description |
---|---|
Priority |
QueryPriorityDecider.decidePriority(QueryCost cost) |
Priority |
CostRangePriorityDecider.decidePriority(QueryCost cost) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
QueryExecutionServiceImpl.estimate(String requestId,
LensSessionHandle sessionHandle,
String query,
LensConf lensConf) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
ThreadSafeEstimatedQueryCollection.getTotalQueryCost(String user) |
QueryCost |
DefaultEstimatedQueryCollection.getTotalQueryCost(String user) |
Constructor and Description |
---|
TotalQueryCostCeilingConstraint(com.google.common.base.Optional<QueryCost> totalQueryCostCeilingPerUser) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.