org.apache.hadoop.tools.rumen.datatypes.util
Class DefaultJobPropertiesParser

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.datatypes.util.DefaultJobPropertiesParser
All Implemented Interfaces:
JobPropertyParser

public class DefaultJobPropertiesParser
extends Object
implements JobPropertyParser

A simple job property parser that acts like a pass-through filter.


Constructor Summary
DefaultJobPropertiesParser()
           
 
Method Summary
 DataType<?> parseJobProperty(String key, String value)
          Parse the specified job configuration key-value pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJobPropertiesParser

public DefaultJobPropertiesParser()
Method Detail

parseJobProperty

public DataType<?> parseJobProperty(String key,
                                    String value)
Description copied from interface: JobPropertyParser
Parse the specified job configuration key-value pair.

Specified by:
parseJobProperty in interface JobPropertyParser
Returns:
Returns a DataType if this parser can parse this value. Returns 'null' otherwise.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.