public class UserBasedQueryHook extends NoOpDriverQueryHook
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWED_USERS |
static String |
DISALLOWED_USERS |
| Constructor and Description |
|---|
UserBasedQueryHook() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getDriver, postDriverSelection, postEstimate, postRewrite, preEstimate, preLaunchpublic static final String ALLOWED_USERS
public static final String DISALLOWED_USERS
public void setDriver(LensDriver driver)
DriverQueryHooksetDriver in interface DriverQueryHooksetDriver in class NoOpDriverQueryHookpublic void preRewrite(AbstractQueryContext ctx) throws LensException
DriverQueryHookpreRewrite in interface DriverQueryHookpreRewrite in class NoOpDriverQueryHookLensExceptionCopyright © 2014–2018 Apache Software Foundation. All rights reserved.