org.apache.pig.validator
Class BlackAndWhitelistFilter

java.lang.Object
  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pig.validator.PigCommandFilter
PigCommandFilter.Command
 
Constructor Summary
BlackAndWhitelistFilter(PigServer pigServer)
           
 
Method Summary
 void validate(PigCommandFilter.Command command)
          Validates a Pig command as defined by PigCommandFilter.Command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlackAndWhitelistFilter

public BlackAndWhitelistFilter(PigServer pigServer)
Method Detail

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