public class NoOpDriverQueryHook extends Object implements DriverQueryHook
| Constructor and Description |
|---|
NoOpDriverQueryHook() |
| Modifier and Type | Method and Description |
|---|---|
LensDriver |
getDriver() |
void |
postDriverSelection(AbstractQueryContext ctx)
Called just after driver has been selected to execute a query.
|
void |
postEstimate(AbstractQueryContext ctx)
Called just after a successful estimate operation is tried on this driver
|
void |
postRewrite(AbstractQueryContext ctx)
Called just after a successful rewrite operation is tried on this driver
|
void |
preEstimate(AbstractQueryContext ctx)
Called just before estimate operation is tried on this driver
Note : Estimate operation will be skipped if rewrite operation fails for this driver
|
void |
preLaunch(QueryContext ctx)
Called just before launching the query on the selected driver.
|
void |
preRewrite(AbstractQueryContext ctx)
Called just before rewrite operation is tried on this driver
|
void |
setDriver(LensDriver driver)
This setter method is called by the driver once hook instance is created.
|
public void setDriver(LensDriver driver)
DriverQueryHooksetDriver in interface DriverQueryHookpublic void preRewrite(AbstractQueryContext ctx) throws LensException
DriverQueryHookpreRewrite in interface DriverQueryHookLensExceptionpublic void postRewrite(AbstractQueryContext ctx) throws LensException
DriverQueryHookpostRewrite in interface DriverQueryHookLensExceptionpublic void preEstimate(AbstractQueryContext ctx) throws LensException
DriverQueryHookpreEstimate in interface DriverQueryHookLensExceptionpublic void postEstimate(AbstractQueryContext ctx) throws LensException
DriverQueryHookpostEstimate in interface DriverQueryHookLensExceptionpublic void postDriverSelection(AbstractQueryContext ctx) throws LensException
DriverQueryHookpostDriverSelection in interface DriverQueryHookLensExceptionpublic void preLaunch(QueryContext ctx) throws LensException
DriverQueryHookpreLaunch in interface DriverQueryHookLensException@Generated(value="lombok") public LensDriver getDriver()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.