org.apache.hadoop.chukwa.extraction.demux.processor.mapper
Class ProcessorFactory

java.lang.Object
  extended by org.apache.hadoop.chukwa.extraction.demux.processor.mapper.ProcessorFactory

public class ProcessorFactory
extends Object


Method Summary
static ChunkProcessor getProcessor(String recordType)
           
static void register(String recordType, ChunkProcessor processor)
          Register a specific parser for a ChunkProcessor implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProcessor

public static ChunkProcessor getProcessor(String recordType)
                                   throws UnknownRecordTypeException
Throws:
UnknownRecordTypeException

register

public static void register(String recordType,
                            ChunkProcessor processor)
Register a specific parser for a ChunkProcessor implementation.



Copyright © ${year} The Apache Software Foundation