public class NoOpDriverQueryHook extends Object implements DriverQueryHook
| Constructor and Description |
|---|
NoOpDriverQueryHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
postDriverSelection(AbstractQueryContext ctx)
Called just after driver has been selected to execute a query.
|
void |
preLaunch(QueryContext ctx)
Called just before launching the query on the selected driver.
|
public void preLaunch(QueryContext ctx)
DriverQueryHookpreLaunch in interface DriverQueryHookpublic void postDriverSelection(AbstractQueryContext ctx) throws LensException
DriverQueryHookAbstractQueryContext.updateConf(Map) to ensure the modified configration is persisted and is available
on server restarts and other bookkeeping needs.postDriverSelection in interface DriverQueryHookLensExceptionCopyright © 2014–2016 Apache Software Foundation. All rights reserved.