|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lens.server.api.query.AbstractQueryContext
public abstract class AbstractQueryContext
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOG
The Constant LOG |
| Method Summary | |
|---|---|
org.apache.hadoop.conf.Configuration |
getDriverConf(LensDriver driver)
|
String |
getDriverQuery(LensDriver driver)
|
LensDriver |
getSelectedDriver()
Wrapper method for convenience on driver context |
org.apache.hadoop.conf.Configuration |
getSelectedDriverConf()
Wrapper method for convenience on driver context |
String |
getSelectedDriverQuery()
Wrapper method for convenience on driver context |
DriverQueryPlan |
getSelectedDriverQueryPlan()
Wrapper method for convenience on driver context |
void |
setDriverQueriesAndPlans(Map<LensDriver,String> driverQueries)
Set driver queries, and updates for plan from each driver in the context |
void |
setSelectedDriver(LensDriver driver)
Wrapper method for convenience on driver context |
void |
setSelectedDriverQuery(String driverQuery)
Sets the selected driver query for persistence and also in the driver context |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOG
| Method Detail |
|---|
public void setDriverQueriesAndPlans(Map<LensDriver,String> driverQueries)
throws LensException
driverQueries - Map of LensDriver to driver's query
LensExceptionpublic String getSelectedDriverQuery()
public String getDriverQuery(LensDriver driver)
public org.apache.hadoop.conf.Configuration getDriverConf(LensDriver driver)
public org.apache.hadoop.conf.Configuration getSelectedDriverConf()
public void setSelectedDriverQuery(String driverQuery)
driverQuery - public void setSelectedDriver(LensDriver driver)
driver - Lens driverpublic LensDriver getSelectedDriver()
public DriverQueryPlan getSelectedDriverQueryPlan()
throws LensException
LensException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||