org.apache.pig.impl.util
Class ConfigurationValidator
java.lang.Object
org.apache.pig.impl.util.ConfigurationValidator
public class ConfigurationValidator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationValidator
public ConfigurationValidator()
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 © 2012 The Apache Software Foundation