org.apache.pig.validator
Class BlackAndWhitelistFilter
java.lang.Object
org.apache.pig.validator.BlackAndWhitelistFilter
- All Implemented Interfaces:
- PigCommandFilter
public final class BlackAndWhitelistFilter
- extends Object
- implements PigCommandFilter
This Filter handles black and whitelisting of Pig commands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlackAndWhitelistFilter
public BlackAndWhitelistFilter(PigServer pigServer)
validate
public void validate(PigCommandFilter.Command command)
throws FrontendException
- Description copied from interface:
PigCommandFilter
- Validates a Pig command as defined by
PigCommandFilter.Command
.
- Specified by:
validate
in interface PigCommandFilter
- Throws:
FrontendException
Copyright © 2007-2012 The Apache Software Foundation