public class ReduceProcessorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ReduceProcessor |
getProcessor(String processorClass) |
static void |
register(String reduceType,
ReduceProcessor processor)
Register a specific parser for a
ReduceProcessor implementation. |
public static void register(String reduceType, ReduceProcessor processor)
ReduceProcessor implementation.reduceType - is data type assigned by mapperprocessor - is parser class for reducerpublic static ReduceProcessor getProcessor(String processorClass) throws UnknownReduceTypeException
UnknownReduceTypeExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.