@InterfaceAudience.Private @InterfaceStability.Unstable public class DelegatingMapper<K1,V1,K2,V2> extends Mapper<K1,V1,K2,V2>
Mapper that delegates behavior of paths to multiple other
mappers.Mapper.Context| 构造器和说明 |
|---|
DelegatingMapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
run(Mapper.Context context)
Expert users can override this method for more complete control over the
execution of the Mapper.
|
protected void |
setup(Mapper.Context context)
Called once at the beginning of the task.
|
protected void setup(Mapper.Context context) throws IOException, InterruptedException
Mappersetup 在类中 Mapper<K1,V1,K2,V2>IOExceptionInterruptedExceptionpublic void run(Mapper.Context context) throws IOException, InterruptedException
Mapperrun 在类中 Mapper<K1,V1,K2,V2>IOExceptionInterruptedExceptionCopyright © 2009 The Apache Software Foundation