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, preLaunch
public static final String ALLOWED_USERS
public static final String DISALLOWED_USERS
public void setDriver(LensDriver driver)
DriverQueryHook
setDriver
in interface DriverQueryHook
setDriver
in class NoOpDriverQueryHook
public void preRewrite(AbstractQueryContext ctx) throws LensException
DriverQueryHook
preRewrite
in interface DriverQueryHook
preRewrite
in class NoOpDriverQueryHook
LensException
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.