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)
DriverQueryHook
setDriver
in interface DriverQueryHook
public void preRewrite(AbstractQueryContext ctx) throws LensException
DriverQueryHook
preRewrite
in interface DriverQueryHook
LensException
public void postRewrite(AbstractQueryContext ctx) throws LensException
DriverQueryHook
postRewrite
in interface DriverQueryHook
LensException
public void preEstimate(AbstractQueryContext ctx) throws LensException
DriverQueryHook
preEstimate
in interface DriverQueryHook
LensException
public void postEstimate(AbstractQueryContext ctx) throws LensException
DriverQueryHook
postEstimate
in interface DriverQueryHook
LensException
public void postDriverSelection(AbstractQueryContext ctx) throws LensException
DriverQueryHook
postDriverSelection
in interface DriverQueryHook
LensException
public void preLaunch(QueryContext ctx) throws LensException
DriverQueryHook
preLaunch
in interface DriverQueryHook
LensException
@Generated(value="lombok") public LensDriver getDriver()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.