Methods
Modifier and Type |
Method and Description |
org.apache.hadoop.conf.Configuration |
getDriverConf(LensDriver driver) |
Collection<String> |
getDriverQueries() |
String |
getDriverQuery(LensDriver driver) |
Map<LensDriver,DriverSelectorQueryContext.DriverQueryContext> |
getDriverQueryContextMap()
Map of driver to driver specific query context
|
QueryCost |
getDriverQueryCost(LensDriver driver) |
DriverQueryPlan |
getDriverQueryPlan(LensDriver driver) |
DriverQueryPlan |
getDriverRewriterPlan(LensDriver driver) |
Collection<LensDriver> |
getDrivers() |
Collection<LensDriver> |
getDriversWithValidQueryCost() |
String |
getFinalDriverQuery(LensDriver driver) |
LensDriver |
getSelectedDriver()
The selected driver.
|
org.apache.hadoop.conf.Configuration |
getSelectedDriverConf() |
String |
getSelectedDriverQuery() |
DriverQueryPlan |
getSelectedDriverQueryPlan()
Return selected driver's query plan, but check for null conditions first.
|
void |
setDriverConf(LensDriver driver,
org.apache.hadoop.conf.Configuration conf) |
void |
setDriverCost(LensDriver driver,
QueryCost cost) |
void |
setDriverQuery(LensDriver driver,
String driverQuery) |
void |
setDriverQueryContextMap(Map<LensDriver,DriverSelectorQueryContext.DriverQueryContext> driverQueryContextMap)
Map of driver to driver specific query context
|
void |
setDriverQueryPlan(LensDriver driver,
DriverQueryPlan qp) |
void |
setDriverQueryPlans(Map<LensDriver,String> driverQueries,
AbstractQueryContext qctx)
Sets driver queries, generates plans for each driver by calling explain with respective queries,
Sets driverQueryPlans
|
void |
setDriverRewriterPlan(LensDriver driver,
DriverQueryPlan rewriterPlan) |
void |
setSelectedDriver(LensDriver selectedDriver)
The selected driver.
|
void |
setSelectedDriverQuery(String driverQuery) |