org.apache.pig.impl.util
Class ConfigurationValidator

java.lang.Object
  extended by org.apache.pig.impl.util.ConfigurationValidator

public class ConfigurationValidator
extends Object


Constructor Summary
ConfigurationValidator()
           
 
Method Summary
static Properties getValidatedProperties(Properties properties)
          Validate properties which need to be validated and return *ONLY* those
static void validatePigProperties(Properties properties)
          All pig configurations should be validated in here before use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationValidator

public ConfigurationValidator()
Method Detail

validatePigProperties

public static void validatePigProperties(Properties properties)
All pig configurations should be validated in here before use

Parameters:
properties -

getValidatedProperties

public static Properties getValidatedProperties(Properties properties)
Validate properties which need to be validated and return *ONLY* those

Parameters:
properties - The Properties object containing all PIG properties
Returns:
The properties object containing *ONLY* properties which were validated (Typically these are user editable properties and should match the properties validated in ValidatePigProperties(Properties properties))


Copyright © 2007-2012 The Apache Software Foundation