public final class BlackAndWhitelistValidator extends Object implements LogicalRelationalNodeValidator
PigConfiguration.PIG_BLACKLIST
and
PigConfiguration.PIG_WHITELIST
and checks whether the operation is permitted. In case these
properties are not defined (default), we let everything pass as usual.Constructor and Description |
---|
BlackAndWhitelistValidator(PigContext pigContext,
OperatorPlan operatorPlan) |
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates logical operators as defined in the logical plan of a pig
script.
|
public BlackAndWhitelistValidator(PigContext pigContext, OperatorPlan operatorPlan)
public void validate() throws FrontendException
LogicalRelationalNodeValidator
validate
in interface LogicalRelationalNodeValidator
FrontendException
Copyright © 2007-2017 The Apache Software Foundation