| Modifier and Type | Method and Description | 
|---|---|
| static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> | RewriteUtil. rewriteQuery(AbstractQueryContext ctx)Rewrite query. | 
| Constructor and Description | 
|---|
| RewriteUtil.DriverRewriterRunnable(LensDriver driver,
                                  AbstractQueryContext ctx,
                                  List<org.apache.lens.driver.cube.RewriteUtil.CubeQueryInfo> cubeQueries,
                                  String replacedQuery) | 
| Modifier and Type | Method and Description | 
|---|---|
| QueryCost | HiveDriver. estimate(AbstractQueryContext qctx) | 
| HiveQueryPlan | HiveDriver. explain(AbstractQueryContext explainCtx) | 
| Modifier and Type | Method and Description | 
|---|---|
| Priority | DurationBasedQueryPriorityDecider. decidePriority(AbstractQueryContext abstractQueryContext)The Implementation | 
| Modifier and Type | Method and Description | 
|---|---|
| QueryCost | JDBCDriver. estimate(AbstractQueryContext qctx) | 
| DriverQueryPlan | JDBCDriver. explain(AbstractQueryContext explainCtx)Explain the given query. | 
| void | JDBCDriver. validate(AbstractQueryContext pContext)Validate query using prepare | 
| Modifier and Type | Method and Description | 
|---|---|
| QueryCost | LensDriver. estimate(AbstractQueryContext qctx)Estimate the cost of execution for given query. | 
| DriverQueryPlan | LensDriver. explain(AbstractQueryContext explainCtx)Explain the given query. | 
| LensDriver | MinQueryCostSelector. select(AbstractQueryContext ctx,
      org.apache.hadoop.conf.Configuration conf)Returns the driver that has the minimum query cost. | 
| LensDriver | DriverSelector. select(AbstractQueryContext ctx,
      org.apache.hadoop.conf.Configuration conf)Select. | 
| Modifier and Type | Method and Description | 
|---|---|
| Priority | QueryPriorityDecider. decidePriority(AbstractQueryContext queryContext) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ExplainQueryContextThe class ExplainQueryContext | 
| class  | PreparedQueryContextThe Class PreparedQueryContext. | 
| class  | QueryContextThe Class QueryContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DriverSelectorQueryContext. setDriverQueryPlans(Map<LensDriver,String> driverQueries,
                   AbstractQueryContext qctx)Sets driver queries, generates plans for each driver by calling explain with respective queries,
 Sets driverQueryPlans | 
| Constructor and Description | 
|---|
| AbstractQueryContext.DriverEstimateRunnable(AbstractQueryContext queryContext,
                                           LensDriver driver) | 
| Constructor and Description | 
|---|
| QueryExecutionServiceImpl.RewriteEstimateRunnable(LensDriver driver,
                                                 RewriteUtil.DriverRewriterRunnable rewriterRunnable,
                                                 AbstractQueryContext.DriverEstimateRunnable estimateRunnable,
                                                 AbstractQueryContext ctx,
                                                 CountDownLatch estimateCompletionLatch) | 
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.