org.apache.hadoop.chukwa.extraction.demux.processor.mapper
Class ProcessorFactory
java.lang.Object
org.apache.hadoop.chukwa.extraction.demux.processor.mapper.ProcessorFactory
public class ProcessorFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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