|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of LensDriver in org.apache.lens.driver.cube |
---|
Methods in org.apache.lens.driver.cube that return types with arguments of type LensDriver | |
---|---|
static Map<LensDriver,RewriteUtil.DriverRewriterRunnable> |
RewriteUtil.rewriteQuery(AbstractQueryContext ctx)
Rewrite query. |
Constructors in org.apache.lens.driver.cube with parameters of type LensDriver | |
---|---|
RewriteUtil.DriverRewriterRunnable(LensDriver driver,
AbstractQueryContext ctx,
List<org.apache.lens.driver.cube.RewriteUtil.CubeQueryInfo> cubeQueries,
String replacedQuery)
|
Uses of LensDriver in org.apache.lens.driver.hive |
---|
Classes in org.apache.lens.driver.hive that implement LensDriver | |
---|---|
class |
HiveDriver
The Class HiveDriver. |
Uses of LensDriver in org.apache.lens.driver.hive.priority |
---|
Constructors in org.apache.lens.driver.hive.priority with parameters of type LensDriver | |
---|---|
DurationBasedQueryPriorityDecider(LensDriver driver,
String ranges,
float monthlyPartitoinWeight,
float dailyPartitionWeight,
float hourlyPartitionWeight)
Constructor. |
Uses of LensDriver in org.apache.lens.driver.jdbc |
---|
Classes in org.apache.lens.driver.jdbc that implement LensDriver | |
---|---|
class |
JDBCDriver
This driver is responsible for running queries against databases which can be queried using the JDBC API. |
Uses of LensDriver in org.apache.lens.server.api.driver |
---|
Methods in org.apache.lens.server.api.driver that return LensDriver | |
---|---|
LensDriver |
DriverEvent.getDriver()
|
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. |
Constructors in org.apache.lens.server.api.driver with parameters of type LensDriver | |
---|---|
DriverEvent(long eventTime,
LensDriver driver)
Instantiates a new driver event. |
|
DriverSessionStarted(long eventTime,
LensDriver driver,
String lensSessionID,
String driverSessionID)
Instantiates a new driver session started. |
Uses of LensDriver in org.apache.lens.server.api.query |
---|
Methods in org.apache.lens.server.api.query that return LensDriver | |
---|---|
LensDriver |
AbstractQueryContext.getSelectedDriver()
Wrapper method for convenience on driver context |
Methods in org.apache.lens.server.api.query that return types with arguments of type LensDriver | |
---|---|
Map<LensDriver,AbstractQueryContext.DriverEstimateRunnable> |
AbstractQueryContext.getDriverEstimateRunnables()
Get runnables wrapping estimate computation, which could be processed offline |
Collection<LensDriver> |
DriverSelectorQueryContext.getDrivers()
|
Methods in org.apache.lens.server.api.query with parameters of type LensDriver | |
---|---|
static QueryContext |
QueryContext.createContextWithSingleDriver(String query,
String user,
LensConf qconf,
org.apache.hadoop.conf.Configuration conf,
LensDriver driver,
String lensSessionPublicId,
boolean mergeDriverConf)
Utility create method to create context with single driver. |
org.apache.hadoop.conf.Configuration |
DriverSelectorQueryContext.getDriverConf(LensDriver driver)
|
org.apache.hadoop.conf.Configuration |
AbstractQueryContext.getDriverConf(LensDriver driver)
Get driver conf |
String |
DriverSelectorQueryContext.getDriverQuery(LensDriver driver)
|
String |
AbstractQueryContext.getDriverQuery(LensDriver driver)
Get driver query |
QueryCost |
DriverSelectorQueryContext.getDriverQueryCost(LensDriver driver)
|
QueryCost |
AbstractQueryContext.getDriverQueryCost(LensDriver driver)
Get query cost for the driver |
DriverQueryPlan |
DriverSelectorQueryContext.getDriverQueryPlan(LensDriver driver)
|
Exception |
AbstractQueryContext.getDriverRewriteError(LensDriver driver)
Get exception during rewrite. |
DriverQueryPlan |
DriverSelectorQueryContext.getDriverRewriterPlan(LensDriver driver)
|
String |
DriverSelectorQueryContext.getFinalDriverQuery(LensDriver driver)
|
String |
AbstractQueryContext.getFinalDriverQuery(LensDriver driver)
|
void |
DriverSelectorQueryContext.setDriverConf(LensDriver driver,
org.apache.hadoop.conf.Configuration conf)
|
void |
DriverSelectorQueryContext.setDriverQuery(LensDriver driver,
String driverQuery)
|
void |
AbstractQueryContext.setDriverQuery(LensDriver driver,
String query)
Set query for a given driver |
void |
DriverSelectorQueryContext.setDriverQueryPlan(LensDriver driver,
DriverQueryPlan qp)
|
void |
AbstractQueryContext.setDriverRewriteError(LensDriver driver,
Exception exp)
Set exception during rewrite. |
void |
DriverSelectorQueryContext.setDriverRewriterPlan(LensDriver driver,
DriverQueryPlan rewriterPlan)
|
void |
AbstractQueryContext.setFinalDriverQuery(LensDriver driver,
String rewrittenQuery)
Set final driver rewritten query for the driver. |
void |
AbstractQueryContext.setSelectedDriver(LensDriver driver)
Wrapper method for convenience on driver context |
Method parameters in org.apache.lens.server.api.query with type arguments of type LensDriver | |
---|---|
void |
AbstractQueryContext.setDriverQueries(Map<LensDriver,String> driverQueries)
Set driver queries |
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 |
QueryContext |
FinishedLensQuery.toQueryContext(org.apache.hadoop.conf.Configuration conf,
Collection<LensDriver> drivers)
|
Constructors in org.apache.lens.server.api.query with parameters of type LensDriver | |
---|---|
AbstractQueryContext.DriverEstimateRunnable(AbstractQueryContext queryContext,
LensDriver driver)
|
Constructor parameters in org.apache.lens.server.api.query with type arguments of type LensDriver | |
---|---|
DriverSelectorQueryContext(String userQuery,
org.apache.hadoop.conf.Configuration queryConf,
Collection<LensDriver> drivers)
|
|
DriverSelectorQueryContext(String userQuery,
org.apache.hadoop.conf.Configuration queryConf,
Collection<LensDriver> drivers,
boolean mergeConf)
|
|
ExplainQueryContext(String query,
String user,
LensConf conf,
org.apache.hadoop.conf.Configuration qconf,
Collection<LensDriver> drivers)
Constructor. |
|
PreparedQueryContext(String query,
String user,
org.apache.hadoop.conf.Configuration conf,
Collection<LensDriver> drivers)
Instantiates a new prepared query context. |
|
PreparedQueryContext(String query,
String user,
org.apache.hadoop.conf.Configuration conf,
LensConf qconf,
Collection<LensDriver> drivers)
Instantiates a new prepared query context. |
|
QueryContext(String query,
String user,
LensConf qconf,
org.apache.hadoop.conf.Configuration conf,
Collection<LensDriver> drivers)
Creates context from query |
Uses of LensDriver in org.apache.lens.server.query |
---|
Constructors in org.apache.lens.server.query with parameters of type LensDriver | |
---|---|
QueryExecutionServiceImpl.RewriteEstimateRunnable(LensDriver driver,
RewriteUtil.DriverRewriterRunnable rewriterRunnable,
AbstractQueryContext.DriverEstimateRunnable estimateRunnable,
AbstractQueryContext ctx,
CountDownLatch estimateCompletionLatch)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |