org.apache.hadoop.tools.rumen
Class JobHistoryParserFactory

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.JobHistoryParserFactory

public class JobHistoryParserFactory
extends Object

JobHistoryParserFactory is a singleton class that attempts to determine the version of job history and return a proper parser.


Nested Class Summary
static class JobHistoryParserFactory.VersionDetector
           
 
Constructor Summary
JobHistoryParserFactory()
           
 
Method Summary
static JobHistoryParser getParser(RewindableInputStream ris)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobHistoryParserFactory

public JobHistoryParserFactory()
Method Detail

getParser

public static JobHistoryParser getParser(RewindableInputStream ris)
                                  throws IOException
Throws:
IOException


Copyright © 2009 The Apache Software Foundation