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)
DriverQueryHook
preLaunch
in interface DriverQueryHook
public void postDriverSelection(AbstractQueryContext ctx) throws LensException
DriverQueryHook
AbstractQueryContext.updateConf(Map)
to ensure the modified configration is persisted and is available
on server restarts and other bookkeeping needs.postDriverSelection
in interface DriverQueryHook
LensException
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.