Modifier and Type | Method and Description |
---|---|
QueryCost |
FactPartitionBasedQueryCostCalculator.calculateCost(AbstractQueryContext queryContext,
LensDriver driver) |
Map<String,Set<?>> |
FactPartitionBasedQueryCostCalculator.getAllPartitions(AbstractQueryContext queryContext,
LensDriver driver) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
ESDriver.estimate(AbstractQueryContext qctx) |
DriverQueryPlan |
ESDriver.explain(AbstractQueryContext context) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
HiveDriver.estimate(AbstractQueryContext qctx) |
HiveQueryPlan |
HiveDriver.explain(AbstractQueryContext explainCtx) |
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.
|
void |
NoOpDriverQueryHook.preLaunch(AbstractQueryContext ctx) |
void |
DriverQueryHook.preLaunch(AbstractQueryContext ctx)
Should be Called before launch on the driver
|
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 | Class and Description |
---|---|
class |
ExplainQueryContext
The class ExplainQueryContext
|
class |
PreparedQueryContext
The Class PreparedQueryContext.
|
class |
QueryContext
The 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) |
Modifier and Type | Method and Description |
---|---|
QueryCost |
QueryCostCalculator.calculateCost(AbstractQueryContext queryContext,
LensDriver driver) |
Constructor and Description |
---|
QueryExecutionServiceImpl.RewriteEstimateRunnable(LensDriver driver,
RewriteUtil.DriverRewriterRunnable rewriterRunnable,
AbstractQueryContext.DriverEstimateRunnable estimateRunnable,
AbstractQueryContext ctx,
CountDownLatch estimateCompletionLatch) |
Modifier and Type | Method and Description |
---|---|
void |
UserQueryToCubeQueryRewriter.rewrite(AbstractQueryContext ctx) |
static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> |
RewriteUtil.rewriteQuery(AbstractQueryContext ctx)
Rewrite query.
|
Constructor and Description |
---|
RewriteUtil.DriverRewriterRunnable(LensDriver driver,
AbstractQueryContext ctx,
List<org.apache.lens.server.rewrite.RewriteUtil.CubeQueryInfo> cubeQueries,
String replacedQuery) |
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.